|
@@ -228,9 +228,12 @@ class AI{
|
|
|
}
|
|
|
|
|
|
// convert to the correct model name if necessary
|
|
|
- if( options.model === 'claude-3-5-sonnet' || options.model === 'claude'){
|
|
|
+ if( options.model === 'claude-3-5-sonnet'){
|
|
|
options.model = 'claude-3-5-sonnet-latest';
|
|
|
}
|
|
|
+ if( options.model === 'claude-3-7-sonnet' || options.model === 'claude'){
|
|
|
+ options.model = 'claude-3-7-sonnet-latest';
|
|
|
+ }
|
|
|
if ( options.model === 'mistral' ) {
|
|
|
options.model = 'mistral-large-latest';
|
|
|
}
|
|
@@ -248,7 +251,8 @@ class AI{
|
|
|
options.model === 'claude-3-haiku-20240307' ||
|
|
|
options.model === 'claude-3-5-sonnet-20240620' ||
|
|
|
options.model === 'claude-3-5-sonnet-20241022' ||
|
|
|
- options.model === 'claude-3-5-sonnet-latest'
|
|
|
+ options.model === 'claude-3-5-sonnet-latest' ||
|
|
|
+ options.model === 'claude-3-7-sonnet-latest'
|
|
|
){
|
|
|
driver = 'claude';
|
|
|
}else if(options.model === 'meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo' || options.model === 'meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo' || options.model === 'meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo' || options.model === `google/gemma-2-27b-it`){
|