mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
tweak: adjust title gen when using models like gpt-5-nano on non open… (#2646)
This commit is contained in:
parent
7c99a03493
commit
2564801bde
1 changed files with 1 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue