mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
修改合并swe-agent系统提示词后的代码错误
This commit is contained in:
parent
d788722bc2
commit
812d6a825d
2 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ class SWEAgent(RoleZero):
|
|||
"""
|
||||
state_output = await self.terminal.run("state")
|
||||
bash_state = json.loads(state_output)
|
||||
self.cmd_prompt_current_state = CURRENT_BASH_STATE.formate(**bash_state).strip()
|
||||
self.cmd_prompt_current_state = CURRENT_BASH_STATE.format(**bash_state).strip()
|
||||
|
||||
async def _parse_commands_for_eval(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue