We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a722e6b commit af378e1Copy full SHA for af378e1
metagpt/roles/role.py
@@ -418,7 +418,7 @@ async def _react(self) -> Message:
418
Use llm to select actions in _think dynamically
419
"""
420
actions_taken = 0
421
- rsp = Message(content="No actions taken yet") # will be overwritten after Role _act
+ rsp = Message(content="No actions taken yet", cause_by=Action) # will be overwritten after Role _act
422
while actions_taken < self.rc.max_react_loop:
423
# think
424
await self._think()
0 commit comments