mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-10 16:22:37 +02:00
feat: +knowledge
This commit is contained in:
parent
6e10cbb73b
commit
d35dc8bfef
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class TalkAction(Action):
|
|||
|
||||
@property
|
||||
def prompt(self):
|
||||
prompt = f"{self._knowledge}\n\n"
|
||||
prompt = f"Knowledge:\n{self._knowledge}\n\n" if self._knowledge else ""
|
||||
prompt += f"{self._history_summary}\n\n"
|
||||
if self._history_summary != "":
|
||||
prompt += "According to the historical conversation above, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue