chore: apply suggestions
This commit is contained in:
@@ -102,7 +102,7 @@ class BaseAgent(ABC):
|
||||
async def add_behavior(self, coro: Coroutine):
|
||||
"""
|
||||
Helper to add a behavior to the agent. To add asynchronous behavior to an agent, define
|
||||
an `async` function and add it to the task list by calling :func:`add_background_task`
|
||||
an `async` function and add it to the task list by calling :func:`add_behavior`
|
||||
with it. This should happen in the :func:`setup` method of the agent. For an example, see:
|
||||
:func:`~control_backend.agents.bdi.BDICoreAgent`.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user