chore: apply suggestion
Changed `add_background_task` to `add_behavior` and added extra docs.
This commit is contained in:
@@ -37,7 +37,7 @@ class RICommunicationAgent(BaseAgent):
|
||||
|
||||
if await self._negotiate_connection():
|
||||
self.connected = True
|
||||
await self.add_background_task(self._listen_loop())
|
||||
await self.add_behavior(self._listen_loop())
|
||||
else:
|
||||
self.logger.warning("Failed to negotiate connection during setup.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user