summaryrefslogtreecommitdiffstats
path: root/src/client/mistral.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-24 21:17:01 +0800
committerGitHub <noreply@github.com>2024-04-24 21:17:01 +0800
commit8dacea4deb0fe67c0cdbe15bd47e6e50c1dd12a1 (patch)
tree89b7df1c8f28a24ce3a46c88877f18b74e578109 /src/client/mistral.rs
parentb62e8e16253cfb79142becb56da4ed24786778ea (diff)
downloadaichat-8dacea4deb0fe67c0cdbe15bd47e6e50c1dd12a1.tar.gz
refactor: update mistral models (#435)
Diffstat (limited to 'src/client/mistral.rs')
-rw-r--r--src/client/mistral.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/mistral.rs b/src/client/mistral.rs
index e294e6a..9dbd831 100644
--- a/src/client/mistral.rs
+++ b/src/client/mistral.rs
@@ -10,12 +10,10 @@ use serde::Deserialize;
const API_URL: &str = "https://api.mistral.ai/v1/chat/completions";
-const MODELS: [(&str, usize, &str); 5] = [
+const MODELS: [(&str, usize, &str); 3] = [
// https://docs.mistral.ai/platform/endpoints/
- ("open-mistral-7b", 32000, "text"),
- ("open-mixtral-8x7b", 32000, "text"),
+ ("open-mixtral-8x22b", 64000, "text"),
("mistral-small-latest", 32000, "text"),
- ("mistral-medium-latest", 32000, "text"),
("mistral-large-latest", 32000, "text"),
];