diff --git a/public/index.html b/public/index.html index 3e0a84bb2..4b50f1477 100644 --- a/public/index.html +++ b/public/index.html @@ -582,7 +582,7 @@
Wraps activated World Info entries before inserting into the prompt. Use - {0} to mark a place where the content is inserted. + {0} to mark a place where the content is inserted.
@@ -596,7 +596,7 @@
- Use {{scenario}} to mark a place where the content is inserted. + Use {{scenario}} to mark a place where the content is inserted.
@@ -610,7 +610,7 @@
- Use {{personality}} to mark a place where the content is inserted. + Use {{personality}} to mark a place where the content is inserted.
@@ -735,7 +735,7 @@
- Doesn't work? Try adding /v1 at the end! + Doesn't work? Try adding /v1 at the end!
@@ -1516,7 +1516,7 @@ -
+
@@ -2231,7 +2231,7 @@
-

Endpoint URL

+

Custom Endpoint (Base URL)

@@ -2240,7 +2240,10 @@ Doesn't work? Try adding /v1 at the end of the URL!
-

Custom API Key

+

+ Custom API Key + (Optional) +

@@ -2254,9 +2257,7 @@

Available Models

- +
diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index 1827b1b26..7a0c648f3 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -399,7 +399,7 @@ function RA_autoconnect(PrevApi) { || (secret_state[SECRET_KEYS.AI21] && oai_settings.chat_completion_source == chat_completion_sources.AI21) || (secret_state[SECRET_KEYS.MAKERSUITE] && oai_settings.chat_completion_source == chat_completion_sources.MAKERSUITE) || (secret_state[SECRET_KEYS.MISTRALAI] && oai_settings.chat_completion_source == chat_completion_sources.MISTRALAI) - || (secret_state[SECRET_KEYS.CUSTOM] && oai_settings.chat_completion_source == chat_completion_sources.CUSTOM) + || (isValidUrl(oai_settings.custom_url) && oai_settings.chat_completion_source == chat_completion_sources.CUSTOM) ) { $('#api_button_openai').trigger('click'); } diff --git a/public/scripts/extensions/caption/index.js b/public/scripts/extensions/caption/index.js index ec126fcda..ca31ac0a3 100644 --- a/public/scripts/extensions/caption/index.js +++ b/public/scripts/extensions/caption/index.js @@ -277,6 +277,7 @@ jQuery(function () { (extension_settings.caption.source === 'multimodal' && extension_settings.caption.multimodal_api === 'google' && secret_state[SECRET_KEYS.MAKERSUITE]) || (extension_settings.caption.source === 'multimodal' && extension_settings.caption.multimodal_api === 'ollama' && textgenerationwebui_settings.server_urls[textgen_types.OLLAMA]) || (extension_settings.caption.source === 'multimodal' && extension_settings.caption.multimodal_api === 'llamacpp' && textgenerationwebui_settings.server_urls[textgen_types.LLAMACPP]) || + (extension_settings.caption.source === 'multimodal' && extension_settings.caption.multimodal_api === 'custom') || extension_settings.caption.source === 'local' || extension_settings.caption.source === 'horde'; @@ -345,6 +346,7 @@ jQuery(function () { +
@@ -358,6 +360,7 @@ jQuery(function () { +