mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-06 06:38:33 +01:00
reverse proxy condition fix
This commit is contained in:
parent
f16ac8686e
commit
ed96ec5c3e
@ -2462,7 +2462,7 @@ async function getStatusOpen() {
|
||||
chat_completion_source: oai_settings.chat_completion_source,
|
||||
};
|
||||
|
||||
if (oai_settings.reverse_proxy && (oai_settings.chat_completion_source !== chat_completion_sources.OPENROUTER || oai_settings.chat_completion_source !== chat_completion_sources.MISTRALAI)) {
|
||||
if (oai_settings.reverse_proxy && (oai_settings.chat_completion_source === chat_completion_sources.OPENAI || oai_settings.chat_completion_source === chat_completion_sources.CLAUDE)) {
|
||||
validateReverseProxy();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user