diff options
Diffstat (limited to 'src/client/qianwen.rs')
| -rw-r--r-- | src/client/qianwen.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/qianwen.rs b/src/client/qianwen.rs index 3e69dae..031abe7 100644 --- a/src/client/qianwen.rs +++ b/src/client/qianwen.rs @@ -1,5 +1,5 @@ use super::{ - message::*, Client, ExtraConfig, Model, PromptType, QianwenClient, SendData, TokensCountFactors, + message::*, Client, ExtraConfig, Model, PromptType, QianwenClient, SendData, }; use crate::{ @@ -37,8 +37,6 @@ const MODELS: [(&str, usize, &str); 6] = [ ("qwen-vl-max", 0, "text,vision"), ]; -const TOKENS_COUNT_FACTORS: TokensCountFactors = (4, 14); - #[derive(Debug, Clone, Deserialize, Default)] pub struct QianwenConfig { pub name: Option<String>, @@ -88,7 +86,6 @@ impl QianwenClient { Model::new(client_name, name) .set_capabilities(capabilities.into()) .set_max_input_tokens(Some(max_input_tokens)) - .set_tokens_count_factors(TOKENS_COUNT_FACTORS) }) .collect() } |
