Use the right max_token_count for Qwen

Co-Authored-By: Nathan <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2024-08-01 22:42:10 +02:00
parent 1b85793ebc
commit 1fa4cc3c7a

View file

@ -32,7 +32,7 @@ impl ZedModel {
pub fn max_token_count(&self) -> usize { pub fn max_token_count(&self) -> usize {
match self { match self {
ZedModel::Qwen2_7bInstruct => 8192, ZedModel::Qwen2_7bInstruct => 28000,
} }
} }
} }