summaryrefslogtreecommitdiffstats
path: root/src/client/mistral.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-06 09:10:42 +0800
committerGitHub <noreply@github.com>2024-04-06 09:10:42 +0800
commite28b53a405256f040db329fbb23676b0e9f10774 (patch)
tree0117999e705599a582c7e0baa6e3112365f96cf9 /src/client/mistral.rs
parent2654542601df9cc472ccc17487d8852dcb2c0d1d (diff)
downloadaichat-e28b53a405256f040db329fbb23676b0e9f10774.tar.gz
refactor: update models (#388)
Diffstat (limited to 'src/client/mistral.rs')
-rw-r--r--src/client/mistral.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/mistral.rs b/src/client/mistral.rs
index 36478b8..0ebb631 100644
--- a/src/client/mistral.rs
+++ b/src/client/mistral.rs
@@ -12,11 +12,11 @@ const API_URL: &str = "https://api.mistral.ai/v1/chat/completions";
const MODELS: [(&str, usize, &str); 5] = [
// https://docs.mistral.ai/platform/endpoints/
- ("mistral-large-latest", 32000, "text"),
- ("mistral-medium-latest", 32000, "text"),
- ("mistral-small-latest", 32000, "text"),
- ("open-mixtral-8x7b", 32000, "text"),
("open-mistral-7b", 32000, "text"),
+ ("open-mixtral-8x7b", 32000, "text"),
+ ("mistral-small-latest", 32000, "text"),
+ ("mistral-medium-latest", 32000, "text"),
+ ("mistral-large-latest", 32000, "text"),
];