Safari bruh moment

This commit is contained in:
Cohee
2024-05-06 21:21:03 +03:00
parent 7063fce2af
commit c73bfbd7b0
3 changed files with 27 additions and 21 deletions

View File

@ -4786,6 +4786,19 @@ $(document).ready(async function () {
});
}
$('#openrouter_providers_chat').on('change', function () {
const selectedProviders = $(this).val();
// Not a multiple select?
if (!Array.isArray(selectedProviders)) {
return;
}
oai_settings.openrouter_providers = selectedProviders;
saveSettingsDebounced();
});
$('#api_button_openai').on('click', onConnectButtonClick);
$('#openai_reverse_proxy').on('input', onReverseProxyInput);
$('#model_openai_select').on('change', onModelChange);