mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 14:18:43 +08:00
dev: enable gpt-o3-mini
This commit is contained in:
parent
d88dedb66c
commit
dc90999fee
@ -115,6 +115,15 @@ class OpenAICompletionService extends BaseService {
|
||||
output: 1200,
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'o3-mini',
|
||||
cost: {
|
||||
currency: 'usd-cents',
|
||||
tokens: 1_000_000,
|
||||
input: 110,
|
||||
output: 440,
|
||||
}
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
@ -287,6 +296,7 @@ class OpenAICompletionService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('MODEL IN USE ------- ', model);
|
||||
const completion = await this.openai.chat.completions.create({
|
||||
user: user_private_uid,
|
||||
messages: messages,
|
||||
|
Loading…
Reference in New Issue
Block a user