mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
tweak: adjust title gen when using models like gpt-5-nano on non open… (#2646)
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user