mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 09:16:21 +02:00
feat: +note
This commit is contained in:
parent
525d94317c
commit
f15b772d77
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue