mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: add GLM 4.5 Air models to OpenRouter reasoning budget models
- Added z-ai/glm-4.5-air and z-ai/glm-4.5-air:free to OPEN_ROUTER_REASONING_BUDGET_MODELS - These models support reasoning parameters as confirmed by OpenRouter API - Fixes issue where GLM 4.5 Air models were not appearing in chat interface Fixes #8313
This commit is contained in:
parent
bf1aafad9b
commit
61fa160c26
1 changed files with 2 additions and 0 deletions
|
|
@ -86,6 +86,8 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
|
|||
"google/gemini-2.5-flash-preview-05-20",
|
||||
"google/gemini-2.5-flash",
|
||||
"google/gemini-2.5-flash-lite-preview-06-17",
|
||||
"z-ai/glm-4.5-air",
|
||||
"z-ai/glm-4.5-air:free",
|
||||
// Also include the models that require the reasoning budget to be enabled
|
||||
// even though `OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS` takes precedence.
|
||||
"anthropic/claude-3.7-sonnet:thinking",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue