Skip to content

Commit b5d61b7

Browse files
authored
fix: reasoning not supported (anomalyco#1882)
1 parent 790e994 commit b5d61b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export namespace ProviderTransform {
9090
result["promptCacheKey"] = sessionID
9191
}
9292

93-
if (modelID.includes("gpt-5")) {
93+
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
9494
result["reasoningEffort"] = "minimal"
9595
if (providerID !== "azure") {
9696
result["textVerbosity"] = "low"

0 commit comments

Comments
 (0)