mirror of
https://github.com/sst/opencode.git
synced 2025-08-22 14:04:07 +00:00
fix: reasoning not supported (#1882)
This commit is contained in:
parent
790e9947bd
commit
b5d61b77f7
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ export namespace ProviderTransform {
|
|||
result["promptCacheKey"] = sessionID
|
||||
}
|
||||
|
||||
if (modelID.includes("gpt-5")) {
|
||||
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
||||
result["reasoningEffort"] = "minimal"
|
||||
if (providerID !== "azure") {
|
||||
result["textVerbosity"] = "low"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue