mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 17:54:23 +01:00
fix: reasoning not supported (#1882)
This commit is contained in:
@@ -90,7 +90,7 @@ export namespace ProviderTransform {
|
|||||||
result["promptCacheKey"] = sessionID
|
result["promptCacheKey"] = sessionID
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modelID.includes("gpt-5")) {
|
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
||||||
result["reasoningEffort"] = "minimal"
|
result["reasoningEffort"] = "minimal"
|
||||||
if (providerID !== "azure") {
|
if (providerID !== "azure") {
|
||||||
result["textVerbosity"] = "low"
|
result["textVerbosity"] = "low"
|
||||||
|
|||||||
Reference in New Issue
Block a user