Update AI.js

This commit is contained in:
jelveh
2025-04-15 23:24:53 -07:00
parent cab933f1c2
commit c732263958
+1 -1
View File
@@ -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' ||