Merge pull request #103 from langgenius/fix/not-show-opening-statement

fix: not show opening statement
This commit is contained in:
Joel
2024-09-03 14:32:46 +08:00
committed by GitHub

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,