Merge branch 'staging' into fix-var-behavior

This commit is contained in:
LenAnderson 2024-05-22 10:22:54 -04:00
commit 6b66bc41fe
2 changed files with 4 additions and 2 deletions

View File

@ -3160,7 +3160,9 @@ jQuery(async () => {
}
eventSource.on(event_types.EXTRAS_CONNECTED, async () => {
await loadSettingOptions();
if (extension_settings.sd.source === sources.extras) {
await loadSettingOptions();
}
});
eventSource.on(event_types.CHAT_CHANGED, onChatChanged);

View File

@ -72,7 +72,7 @@
</div>
<label for="sd_drawthings_auth" data-i18n="Authentication (optional)">Authentication (optional)</label>
<input id="sd_drawthings_auth" type="text" class="text_pole" data-i18n="[placeholder]Example: username:password" placeholder="Example: username:password" value="" />
<!-- (Original Text)<b>Important:</b> run DrawThings app with HTTP API switch enabled in the UI! The server must be accessible from the SillyTavern host machine. -->
<!-- (Original Text)<b>Important:</b> run DrawThings app with HTTP API switch enabled in the UI! The server must be accessible from the SillyTavern host machine. -->
<i><b data-i18n="Important:">Important:</b></i><i data-i18n="sd_drawthings_auth_txt"> run DrawThings app with HTTP API switch enabled in the UI! The server must be accessible from the SillyTavern host machine.</i>
</div>
<div data-sd-source="vlad">