mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
Merge pull request #103 from langgenius/fix/not-show-opening-statement
fix: not show opening statement
This commit is contained in:
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user