mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
Ollama llama3.2 default context size (#18366)
Release Notes: - Ollama: Added llama3.2 support
This commit is contained in:
parent
4b4565fb7a
commit
7398f795e3
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ fn get_max_tokens(name: &str) -> usize {
|
|||
"codellama" | "starcoder2" => 16384,
|
||||
"mistral" | "codestral" | "mixstral" | "llava" | "qwen2" | "dolphin-mixtral" => 32768,
|
||||
"llama3.1" | "phi3" | "phi3.5" | "command-r" | "deepseek-coder-v2" | "yi-coder"
|
||||
| "qwen2.5-coder" => 128000,
|
||||
| "llama3.2" | "qwen2.5-coder" => 128000,
|
||||
_ => DEFAULT_TOKENS,
|
||||
}
|
||||
.clamp(1, MAXIMUM_TOKENS)
|
||||
|
|
Loading…
Reference in a new issue