diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js index 55e10c45f..b6c2a0021 100644 --- a/public/scripts/textgen-settings.js +++ b/public/scripts/textgen-settings.js @@ -151,7 +151,7 @@ function formatTextGenURL(value) { try { const url = new URL(value); if (url.pathname === '/api' && !textgenerationwebui_settings.legacy_api) { - toastr.info(`Enable compatibility mode or update ooba-webui to the latest version.`, 'Legacy API URL detected. Generation may fail.'); + toastr.info(`Enable compatibility mode or update ooba-webui to the latest version.`, 'Legacy API URL detected. Generation may fail.', { preventDuplicates: true }); } if (!power_user.relaxed_api_urls && textgenerationwebui_settings.legacy_api && !isMancer()) {