Ver Fonte

tweak: adjust title gen when using models like gpt-5-nano on non open… (#2646)

Aiden Cline há 7 meses atrás
pai
commit
2564801bde
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/opencode/src/session/prompt.ts

+ 1 - 1
packages/opencode/src/session/prompt.ts

@@ -1548,7 +1548,7 @@ export namespace SessionPrompt {
       ...ProviderTransform.options(small.providerID, small.modelID, input.session.id),
       ...small.info.options,
     }
-    if (small.providerID === "openai") {
+    if (small.providerID === "openai" || small.modelID.includes("gpt-5")) {
       options["reasoningEffort"] = "minimal"
     }
     if (small.providerID === "google") {