We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc115d commit 614dc44Copy full SHA for 614dc44
src/api/providers/openai-native.ts
@@ -52,6 +52,10 @@ export class OpenAiNativeHandler extends BaseProvider implements SingleCompletio
52
constructor(options: ApiHandlerOptions) {
53
super()
54
this.options = options
55
+ // Default to including reasoning.summary: "auto" for GPT‑5 unless explicitly disabled
56
+ if (this.options.enableGpt5ReasoningSummary === undefined) {
57
+ this.options.enableGpt5ReasoningSummary = true
58
+ }
59
const apiKey = this.options.openAiNativeApiKey ?? "not-provided"
60
this.client = new OpenAI({ baseURL: this.options.openAiNativeBaseUrl, apiKey })
61
}
0 commit comments