mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Coalesce no name
This commit is contained in:
parent
48cd881972
commit
1e5149f209
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user