Fix constant usage

This commit is contained in:
Cohee 2023-12-04 00:24:23 +02:00
parent 7a58a095a4
commit 671df1f62e
1 changed files with 1 additions and 1 deletions

View File

@ -2462,7 +2462,7 @@ async function getStatusOpen() {
chat_completion_source: oai_settings.chat_completion_source,
};
if (oai_settings.reverse_proxy && data.chat_completion_source !== 'openrouter') {
if (oai_settings.reverse_proxy && oai_settings.chat_completion_source !== chat_completion_sources.OPENROUTER) {
validateReverseProxy();
}