mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 13:46:11 +00:00
Update AI.js
This commit is contained in:
@@ -326,7 +326,7 @@ class AI{
|
||||
}
|
||||
|
||||
// map model to the appropriate driver
|
||||
if (!requestParams.model || requestParams.model === 'gpt-4o' || requestParams.model === 'gpt-4o-mini') {
|
||||
if (!requestParams.model || requestParams.model.startsWith('gpt-')) {
|
||||
driver = 'openai-completion';
|
||||
}else if(
|
||||
requestParams.model === 'claude-3-haiku-20240307' ||
|
||||
|
||||
Reference in New Issue
Block a user