fix: not show opening statement

This commit is contained in:
Joel
2024-09-03 14:31:05 +08:00
parent 8d21cbc2da
commit cafd643c00

View File

@ -199,7 +199,7 @@ const Main: FC = () => {
if (calculatedIntroduction && calculatedPromptVariables)
calculatedIntroduction = replaceVarWithValues(calculatedIntroduction, promptConfig?.prompt_variables || [], calculatedPromptVariables)
const openstatement = {
const openStatement = {
id: `${Date.now()}`,
content: calculatedIntroduction,
isAnswer: true,