mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08: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