summaryrefslogtreecommitdiffstats
path: root/src/client/mistral.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-03-25 09:21:46 +0800
committerGitHub <noreply@github.com>2024-03-25 09:21:46 +0800
commitbbd0c287261f8876d8c66a4e8015f5a0d8ce6548 (patch)
tree0bc74b4d8e228d0bc1a64188a75a250b366c46c3 /src/client/mistral.rs
parent774d991144915368f9eee9740091448b92c17e62 (diff)
downloadaichat-bbd0c287261f8876d8c66a4e8015f5a0d8ce6548.tar.gz
refactor: reorder models (#372)
The capable ones come first.
Diffstat (limited to 'src/client/mistral.rs')
-rw-r--r--src/client/mistral.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/mistral.rs b/src/client/mistral.rs
index 25df830..36478b8 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-small-latest", 32000, "text"),
- ("mistral-medium-latest", 32000, "text"),
("mistral-large-latest", 32000, "text"),
- ("open-mistral-7b", 32000, "text"),
+ ("mistral-medium-latest", 32000, "text"),
+ ("mistral-small-latest", 32000, "text"),
("open-mixtral-8x7b", 32000, "text"),
+ ("open-mistral-7b", 32000, "text"),
];