Skip to content

Commit c02eea8

Browse files
committed
fix: configure GLM-4.7 as interleaved reasoning model
- Added reasoning=true and tool_call=true metadata - This tells OpenCode GLM-4.7 uses interleaved reasoning - Fixes tool call issues in thinking mode - Run 'opencode models --refresh' to update cache Reference: anomalyco/opencode#6039
1 parent 2b8da77 commit c02eea8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎.opencode_global/opencode.json‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@
4141
"glm-4.5-air": {},
4242
"glm-4.7": {
4343
"name": "GLM-4.7",
44+
"reasoning": true,
45+
"tool_call": true,
4446
"variants": {
45-
"standard": {
46-
"reasoning": false
47-
},
48-
"thinking": {
49-
"reasoning": true
50-
}
47+
"standard": {},
48+
"thinking": {}
5149
}
5250
}
5351
}

0 commit comments

Comments
 (0)