Skip to content

Commit 4c97aa5

Browse files
committed
Fix the return parameters of the _parse_commands method
1 parent ba28689 commit 4c97aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metagpt/roles/di/role_zero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ async def _check_duplicates(self, req: list[dict], command_rsp: str, check_windo
439439
command_rsp = await self.llm.aask(regenerate_req)
440440
return command_rsp
441441

442-
async def _parse_commands(self, command_rsp) -> Tuple[List[Dict], bool]:
442+
async def _parse_commands(self, command_rsp) -> Tuple[List[Dict], bool, str]:
443443
"""Retrieves commands from the Large Language Model (LLM).
444444
445445
This function attempts to retrieve a list of commands from the LLM by

0 commit comments

Comments
 (0)