forked from tuvn86/webapp-conversation
Merge pull request #103 from langgenius/fix/not-show-opening-statement
fix: not show opening statement
This commit is contained in:
commit
69044eb8a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue