fix: reasoning not supported (#1882)

This commit is contained in:
Aiden Cline 2025-08-13 06:26:07 -05:00 committed by GitHub
parent 790e9947bd
commit b5d61b77f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"