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
commit 69044eb8a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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