Skip to content

Commit 05f9afd

Browse files
committed
Remove unnecessary comment block in non-streaming branch
1 parent 74164ee commit 05f9afd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/api/providers/openai.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,6 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
218218
yield this.processUsageMetrics(lastUsage, modelInfo)
219219
}
220220
} 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.
225221
const systemMessage: OpenAI.Chat.ChatCompletionSystemMessageParam = {
226222
role: "system",
227223
content: systemPrompt,

0 commit comments

Comments
 (0)