Skip to content

Commit af9231d

Browse files
committed
Make o3-mini work
1 parent d1f23d2 commit af9231d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/providers/openai-native.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export class OpenAiNativeHandler implements ApiHandler, SingleCompletionHandler
2727
switch (modelId) {
2828
case "o1":
2929
case "o1-preview":
30-
case "o1-mini": {
30+
case "o1-mini":
31+
case "o3-mini": {
3132
// o1-preview and o1-mini don't support streaming, non-1 temp, or system prompt
3233
// o1 doesnt support streaming or non-1 temp but does support a developer prompt
3334
const response = await this.client.chat.completions.create({

0 commit comments

Comments
 (0)