Fix constant usage
This commit is contained in:
parent
7a58a095a4
commit
671df1f62e
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue