mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
add test
This commit is contained in:
parent
664710e6e8
commit
cbfc62d7f3
3 changed files with 3 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ class SkAgent(Role):
|
|||
if isinstance(self.planner, BasicPlanner):
|
||||
result = await self.planner.execute_plan_async(self.plan, self.kernel)
|
||||
elif any(isinstance(self.planner, cls) for cls in [SequentialPlanner, ActionPlanner]):
|
||||
result = await self.plan.invoke_async()
|
||||
result = (await self.plan.invoke_async()).result
|
||||
logger.info(result)
|
||||
|
||||
msg = Message(content=result, role=self.profile, cause_by=type(self._rc.todo))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue