Use J1.5 Large by default
This commit is contained in:
parent
5fc16a2474
commit
7d4b3e0800
|
@ -8,7 +8,7 @@
|
|||
"openrouter_force_instruct": false,
|
||||
"openrouter_group_models": false,
|
||||
"openrouter_sort_models": "alphabetically",
|
||||
"ai21_model": "jamba-1.5-mini",
|
||||
"ai21_model": "jamba-1.5-large",
|
||||
"mistralai_model": "mistral-large-latest",
|
||||
"custom_model": "",
|
||||
"custom_url": "",
|
||||
|
|
|
@ -613,7 +613,7 @@
|
|||
"wi_format": "{0}",
|
||||
"openai_model": "gpt-4-turbo",
|
||||
"claude_model": "claude-3-5-sonnet-20240620",
|
||||
"ai21_model": "jamba-1.5-mini",
|
||||
"ai21_model": "jamba-1.5-large",
|
||||
"windowai_model": "",
|
||||
"openrouter_model": "OR_Website",
|
||||
"jailbreak_system": true,
|
||||
|
|
|
@ -246,7 +246,7 @@ const default_settings = {
|
|||
openai_model: 'gpt-4-turbo',
|
||||
claude_model: 'claude-3-5-sonnet-20240620',
|
||||
google_model: 'gemini-1.5-pro',
|
||||
ai21_model: 'jamba-1.5-mini',
|
||||
ai21_model: 'jamba-1.5-large',
|
||||
mistralai_model: 'mistral-large-latest',
|
||||
cohere_model: 'command-r-plus',
|
||||
perplexity_model: 'llama-3.1-70b-instruct',
|
||||
|
@ -324,7 +324,7 @@ const oai_settings = {
|
|||
openai_model: 'gpt-4-turbo',
|
||||
claude_model: 'claude-3-5-sonnet-20240620',
|
||||
google_model: 'gemini-1.5-pro',
|
||||
ai21_model: 'jamba-1.5-mini',
|
||||
ai21_model: 'jamba-1.5-large',
|
||||
mistralai_model: 'mistral-large-latest',
|
||||
cohere_model: 'command-r-plus',
|
||||
perplexity_model: 'llama-3.1-70b-instruct',
|
||||
|
@ -3041,7 +3041,7 @@ function loadOpenAISettings(data, settings) {
|
|||
}
|
||||
|
||||
if (oai_settings.ai21_model.startsWith('j2-')) {
|
||||
oai_settings.ai21_model = 'jamba-1.5-mini';
|
||||
oai_settings.ai21_model = 'jamba-1.5-large';
|
||||
}
|
||||
|
||||
if (settings.wrap_in_quotes !== undefined) oai_settings.wrap_in_quotes = !!settings.wrap_in_quotes;
|
||||
|
@ -3979,6 +3979,10 @@ async function onModelChange() {
|
|||
}
|
||||
|
||||
if ($(this).is('#model_ai21_select')) {
|
||||
if (value.startsWith('j2-')) {
|
||||
value = 'jamba-1.5-large';
|
||||
}
|
||||
|
||||
console.log('AI21 model changed to', value);
|
||||
oai_settings.ai21_model = value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue