mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-09 07:42:38 +02:00
combine_system_prompt
This commit is contained in:
parent
075a82e6f4
commit
ea990d8d68
1 changed files with 1 additions and 4 deletions
|
|
@ -163,16 +163,13 @@ class RoleZero(Role):
|
|||
)
|
||||
guidance_system_msgs = [instruction_system_prpomt]
|
||||
if self.system_msg:
|
||||
guidance_system_msgs = self.system_msg + guidance_system_msgs
|
||||
guidance_system_msgs = [self.system_msg[0] + guidance_system_msgs[0]]
|
||||
|
||||
# print(("\n"+"="*10+"\n").join(guidance_system_msgs))
|
||||
### Make Decision Dynamically ###
|
||||
memory = self.rc.memory.get(self.memory_k)
|
||||
prompt = self.cmd_prompt.format(
|
||||
plan_status=plan_status,
|
||||
current_task=current_task,
|
||||
# thought_guidance=self.thought_guidance,
|
||||
# latest_observation=memory[-1].content,
|
||||
requirements_constraints=self.requirements_constraints,
|
||||
)
|
||||
memory = await self.parse_browser_actions(memory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue