Remove SPADE dependency #29

Merged
k.marinus merged 28 commits from refactor/remove-spade into dev 2025-11-25 10:26:07 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 8607f9b615 - Show all commits

View File

@@ -116,7 +116,7 @@ class RICommunicationAgent(BaseAgent):
except Exception as e:
self.logger.warning("Error unpacking negotiation data: %s", e)
retries += 1
await asyncio.sleep(1)
await asyncio.sleep(settings.behaviour_settings.sleep_s)
continue
return False

View File

@@ -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`.
"""