mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed model in max context
This commit is contained in:
@ -4335,13 +4335,13 @@ async function onModelChange() {
|
|||||||
if (oai_settings.max_context_unlocked) {
|
if (oai_settings.max_context_unlocked) {
|
||||||
$('#openai_max_context').attr('max', unlocked_max);
|
$('#openai_max_context').attr('max', unlocked_max);
|
||||||
}
|
}
|
||||||
else if (oai_settings.groq_model.includes('llama3.1')) {
|
else if (oai_settings.blockentropy_model.includes('llama3.1')) {
|
||||||
$('#openai_max_context').attr('max', max_16k);
|
$('#openai_max_context').attr('max', max_16k);
|
||||||
}
|
}
|
||||||
else if (oai_settings.groq_model.includes('72b')) {
|
else if (oai_settings.blockentropy_model.includes('72b')) {
|
||||||
$('#openai_max_context').attr('max', max_16k);
|
$('#openai_max_context').attr('max', max_16k);
|
||||||
}
|
}
|
||||||
else if (oai_settings.groq_model.includes('120b')) {
|
else if (oai_settings.blockentropy_model.includes('120b')) {
|
||||||
$('#openai_max_context').attr('max', max_12k);
|
$('#openai_max_context').attr('max', max_12k);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user