From f15b772d77d76a92a8214cf2b5d4f071de9d8a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Mon, 22 Jan 2024 10:54:15 +0800 Subject: [PATCH] feat: +note --- metagpt/roles/role.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py index 53798f385..dba14bb72 100644 --- a/metagpt/roles/role.py +++ b/metagpt/roles/role.py @@ -524,7 +524,7 @@ class Role(SerializationMixin, ContextMixin, BaseModel): async def think(self) -> Action: """ - Export SDK API, used by AgentStore RPC and Agent. + Export SDK API, used by AgentStore RPC. The exported `think` function """ await self._observe() # For compatibility with the old version of the Agent. @@ -533,7 +533,7 @@ class Role(SerializationMixin, ContextMixin, BaseModel): async def act(self) -> ActionOutput: """ - Export SDK API, used by AgentStore RPC and Agent. + Export SDK API, used by AgentStore RPC. The exported `act` function """ msg = await self._act()