diff options
| author | sigoden <sigoden@gmail.com> | 2024-03-25 09:21:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 09:21:46 +0800 |
| commit | bbd0c287261f8876d8c66a4e8015f5a0d8ce6548 (patch) | |
| tree | 0bc74b4d8e228d0bc1a64188a75a250b366c46c3 /src/client/qianwen.rs | |
| parent | 774d991144915368f9eee9740091448b92c17e62 (diff) | |
| download | aichat-bbd0c287261f8876d8c66a4e8015f5a0d8ce6548.tar.gz | |
refactor: reorder models (#372)
The capable ones come first.
Diffstat (limited to 'src/client/qianwen.rs')
| -rw-r--r-- | src/client/qianwen.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/qianwen.rs b/src/client/qianwen.rs index 3e69dae..a95556b 100644 --- a/src/client/qianwen.rs +++ b/src/client/qianwen.rs @@ -28,13 +28,13 @@ const API_URL_VL: &str = const MODELS: [(&str, usize, &str); 6] = [ // https://help.aliyun.com/zh/dashscope/developer-reference/api-details - ("qwen-turbo", 6000, "text"), - ("qwen-plus", 30000, "text"), ("qwen-max", 6000, "text"), ("qwen-max-longcontext", 28000, "text"), + ("qwen-plus", 30000, "text"), + ("qwen-turbo", 6000, "text"), // https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-vl-plus-api - ("qwen-vl-plus", 0, "text,vision"), ("qwen-vl-max", 0, "text,vision"), + ("qwen-vl-plus", 0, "text,vision"), ]; const TOKENS_COUNT_FACTORS: TokensCountFactors = (4, 14); |
