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 74164ee commit 05f9afdCopy full SHA for 05f9afd
src/api/providers/openai.ts
@@ -218,10 +218,6 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
218
yield this.processUsageMetrics(lastUsage, modelInfo)
219
}
220
} else {
221
- // Note: o1/o3/o4 models do not support streaming, non-1 temperature, or system prompts.
222
- // This non-streaming branch is for general OpenAI-compatible providers that DO support system prompts.
223
- // The o1/o3/o4 family is handled above in handleO3FamilyMessage(), so we still use a proper "system" role
224
- // here for consistency with streaming behavior and provider expectations.
225
const systemMessage: OpenAI.Chat.ChatCompletionSystemMessageParam = {
226
role: "system",
227
content: systemPrompt,
0 commit comments