Better WI type readability, fixed clone and type opeators.

This commit is contained in:
bmen25124
2025-03-17 00:13:39 +03:00
parent 1593951281
commit 8dc66bd21b
3 changed files with 21 additions and 7 deletions

View File

@ -710,7 +710,7 @@ export function formatWorldInfo(value, { wiFormat = null } = {}) {
return '';
}
const format = wiFormat || oai_settings.wi_format;
const format = wiFormat ?? oai_settings.wi_format;
if (!format.trim()) {
return value;