Skip to content

Commit af67536

Browse files
authored
Remove hard-coded o3-mini model when streaming is enabled, allowing custom o3-mini-<reasoning> model (#2134)
Remove hard-coded o3-mini model when streaming is enabled
1 parent 9a13041 commit af67536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/openai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
234234
): ApiStream {
235235
if (this.options.openAiStreamingEnabled ?? true) {
236236
const stream = await this.client.chat.completions.create({
237-
model: "o3-mini",
237+
model: modelId,
238238
messages: [
239239
{
240240
role: "developer",

0 commit comments

Comments
 (0)