mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Make o3-mini work
This commit is contained in:
parent
d1f23d2520
commit
af9231d22d
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ export class OpenAiNativeHandler implements ApiHandler, SingleCompletionHandler
|
|||
switch (modelId) {
|
||||
case "o1":
|
||||
case "o1-preview":
|
||||
case "o1-mini": {
|
||||
case "o1-mini":
|
||||
case "o3-mini": {
|
||||
// o1-preview and o1-mini don't support streaming, non-1 temp, or system prompt
|
||||
// o1 doesnt support streaming or non-1 temp but does support a developer prompt
|
||||
const response = await this.client.chat.completions.create({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue