mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
refactor: brain memory
This commit is contained in:
parent
270b14e036
commit
b49c7f2d70
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class TalkAction(Action):
|
|||
if CONFIG.LLM_TYPE == LLMType.METAGPT.value:
|
||||
format_msgs.append(json.loads(self._history_summary))
|
||||
else:
|
||||
format_msgs.append({"context": self._history_summary})
|
||||
format_msgs.append({"knowledge": self._history_summary})
|
||||
rsp = await self.llm.aask(msg=self._talk, format_msgs=format_msgs, system_msgs=system_msgs)
|
||||
self._rsp = ActionOutput(content=rsp)
|
||||
return self._rsp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue