mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fixbug: _think return None
This commit is contained in:
parent
7dd02ae4b1
commit
67f6fe6523
1 changed files with 4 additions and 3 deletions
|
|
@ -41,9 +41,10 @@ class Teacher(Role):
|
|||
|
||||
if self._rc.state + 1 < len(self._states):
|
||||
self._set_state(self._rc.state + 1)
|
||||
else:
|
||||
self._rc.todo = None
|
||||
return False
|
||||
return True
|
||||
|
||||
self._rc.todo = None
|
||||
return False
|
||||
|
||||
async def _react(self) -> Message:
|
||||
ret = Message(content="")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue