mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
refactor: brain memory
This commit is contained in:
parent
5903b3efbc
commit
ce6619a10c
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ class BaseGPTAPI(BaseChatbot):
|
|||
message = []
|
||||
if system_msgs:
|
||||
message = self._system_msgs(system_msgs)
|
||||
else:
|
||||
message = [self._default_system_msg()]
|
||||
if format_msgs:
|
||||
message.extend(format_msgs)
|
||||
message.append(self._user_msg(msg))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue