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

This commit is contained in:
Aiden Cline 2025-09-17 08:39:34 -05:00 committed by GitHub
parent 7c99a03493
commit 2564801bde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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