mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-11 17:03:59 +01:00
#2062 Extend unlock for MakerSuite models
This commit is contained in:
parent
ba312d316c
commit
ba397dd2a8
@ -3566,7 +3566,7 @@ async function onModelChange() {
|
||||
|
||||
if (oai_settings.chat_completion_source == chat_completion_sources.MAKERSUITE) {
|
||||
if (oai_settings.max_context_unlocked) {
|
||||
$('#openai_max_context').attr('max', unlocked_max);
|
||||
$('#openai_max_context').attr('max', max_1mil);
|
||||
} else if (value === 'gemini-1.5-pro-latest') {
|
||||
$('#openai_max_context').attr('max', max_1mil);
|
||||
} else if (value === 'gemini-ultra' || value === 'gemini-1.0-pro-latest' || value === 'gemini-pro' || value === 'gemini-1.0-ultra-latest') {
|
||||
|
Loading…
Reference in New Issue
Block a user