fix invalid context length for claude models (#2872)

This commit is contained in:
Yingjie He
2025-06-11 20:58:31 -07:00
committed by GitHub
parent dd5f5eb03d
commit c17c86bce5

View File

@@ -21,8 +21,7 @@ static MODEL_SPECIFIC_LIMITS: Lazy<HashMap<&'static str, usize>> = Lazy::new(||
map.insert("gpt-4-1", 1_000_000);
// Anthropic models, https://docs.anthropic.com/en/docs/about-claude/models
map.insert("claude-3", 200_000);
map.insert("claude-4", 200_000);
map.insert("claude", 200_000);
// Google models, https://ai.google/get-started/our-models/
map.insert("gemini-2.5", 1_000_000);