Merge pull request #18 from iorisa/feature/bug-1118

fixbug: 1118
This commit is contained in:
send18 2023-09-02 11:00:39 +08:00 committed by GitHub
commit 1542987ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,10 @@ class TalkAction(Action):
if self._history_summary != "":
prompt += "According to the historical conversation above, "
language = CONFIG.language or DEFAULT_LANGUAGE
prompt += f"Answer in {language}, and the answers must follow the Markdown format.\n {self._talk}"
prompt += (
f"Answer the following questions in {language}, and the answers must follow the Markdown format.\n "
f"{self._talk}"
)
return prompt
async def run(self, *args, **kwargs) -> ActionOutput: