mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
docs: add explanatory comment for GLM-4.6 thinking parameter
Added comment explaining why GLM-4.6 uses thinking parameter instead of reasoning_effort for better maintainability
This commit is contained in:
parent
69a7825d4a
commit
c0d0e13b2d
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
|
|||
const ark = modelUrl.includes(".volces.com")
|
||||
|
||||
// Check if this is GLM-4.6 model with reasoning support
|
||||
// GLM-4.6 uses the 'thinking' parameter instead of 'reasoning_effort' for enabling reasoning
|
||||
// This is a vendor-specific implementation detail for Z AI's GLM models
|
||||
const isGLM46WithReasoning =
|
||||
modelId.includes("glm-4.6") &&
|
||||
this.options.enableReasoningEffort &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue