fix: update reasoningEffort logic for gpt-5.1 models in SessionPrompt-ensureTitle (#4456)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>pull/4471/head
parent
68cd105d9d
commit
3b72857124
|
|
@ -1397,7 +1397,11 @@ export namespace SessionPrompt {
|
|||
...small.info.options,
|
||||
}
|
||||
if (small.providerID === "openai" || small.modelID.includes("gpt-5")) {
|
||||
options["reasoningEffort"] = "minimal"
|
||||
if (small.modelID.includes("5.1")) {
|
||||
options["reasoningEffort"] = "low"
|
||||
} else {
|
||||
options["reasoningEffort"] = "minimal"
|
||||
}
|
||||
}
|
||||
if (small.providerID === "google") {
|
||||
options["thinkingConfig"] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue