mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Safari bruh moment
This commit is contained in:
@ -710,6 +710,19 @@ jQuery(function () {
|
||||
}
|
||||
|
||||
$('#textgen_logit_bias_new_entry').on('click', () => createNewLogitBiasEntry(settings.logit_bias, BIAS_KEY));
|
||||
|
||||
$('#openrouter_providers_text').on('change', function () {
|
||||
const selectedProviders = $(this).val();
|
||||
|
||||
// Not a multiple select?
|
||||
if (!Array.isArray(selectedProviders)) {
|
||||
return;
|
||||
}
|
||||
|
||||
settings.openrouter_providers = selectedProviders;
|
||||
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
});
|
||||
|
||||
function showTypeSpecificControls(type) {
|
||||
|
Reference in New Issue
Block a user