Resolve ephemeral stop strings variables

This commit is contained in:
Cohee 2023-11-26 00:56:55 +02:00
parent df15a00430
commit c6aea00e27
1 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ async function generateRawCallback(args, value) {
deactivateSendButtons();
}
setEphemeralStopStrings(args?.stop);
setEphemeralStopStrings(resolveVariable(args?.stop));
const result = await generateRaw(value, '', isFalseBoolean(args?.instruct));
return result;
} finally {
@ -358,7 +358,7 @@ async function generateCallback(args, value) {
deactivateSendButtons();
}
setEphemeralStopStrings(args?.stop);
setEphemeralStopStrings(resolveVariable(args?.stop));
const result = await generateQuietPrompt(value, false, false, '');
return result;
} finally {