Resolve ephemeral stop strings variables
This commit is contained in:
parent
df15a00430
commit
c6aea00e27
|
@ -332,7 +332,7 @@ async function generateRawCallback(args, value) {
|
||||||
deactivateSendButtons();
|
deactivateSendButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
setEphemeralStopStrings(args?.stop);
|
setEphemeralStopStrings(resolveVariable(args?.stop));
|
||||||
const result = await generateRaw(value, '', isFalseBoolean(args?.instruct));
|
const result = await generateRaw(value, '', isFalseBoolean(args?.instruct));
|
||||||
return result;
|
return result;
|
||||||
} finally {
|
} finally {
|
||||||
|
@ -358,7 +358,7 @@ async function generateCallback(args, value) {
|
||||||
deactivateSendButtons();
|
deactivateSendButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
setEphemeralStopStrings(args?.stop);
|
setEphemeralStopStrings(resolveVariable(args?.stop));
|
||||||
const result = await generateQuietPrompt(value, false, false, '');
|
const result = await generateQuietPrompt(value, false, false, '');
|
||||||
return result;
|
return result;
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue