Coalesce no name

This commit is contained in:
Cohee 2024-09-19 23:58:31 +03:00
parent 48cd881972
commit 1e5149f209

View File

@ -118,7 +118,7 @@ function selectSystemPromptCallback(args, name) {
} }
if (!name) { if (!name) {
return power_user.sysprompt.name; return power_user.sysprompt.name ?? '';
} }
const quiet = isTrueBoolean(args?.quiet); const quiet = isTrueBoolean(args?.quiet);