mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
feat: +knowledge
This commit is contained in:
parent
d35dc8bfef
commit
9ff489b6c6
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class TalkAction(Action):
|
|||
|
||||
@property
|
||||
def prompt(self):
|
||||
prompt = f"Knowledge:\n{self._knowledge}\n\n" if self._knowledge else ""
|
||||
prompt = f"Background 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