summaryrefslogtreecommitdiffstats
path: root/src/client/qianwen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qianwen.rs')
-rw-r--r--src/client/qianwen.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/qianwen.rs b/src/client/qianwen.rs
index 386716f..64d27d4 100644
--- a/src/client/qianwen.rs
+++ b/src/client/qianwen.rs
@@ -34,19 +34,6 @@ pub struct QianwenConfig {
}
impl QianwenClient {
- list_models_fn!(
- QianwenConfig,
- [
- // https://help.aliyun.com/zh/dashscope/developer-reference/api-details
- ("qwen-turbo", "text", 6000),
- ("qwen-plus", "text", 30000),
- ("qwen-max", "text", 6000),
- ("qwen-max-longcontext", "text", 28000),
- // https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-vl-plus-api
- ("qwen-vl-plus", "text,vision", 0),
- ("qwen-vl-max", "text,vision", 0),
- ]
- );
config_get_fn!(api_key, get_api_key);
pub const PROMPTS: [PromptType<'static>; 1] =