🐛 — Fix passing the URL of the server to the agent

This commit is contained in:
Luc Didry 2024-04-02 12:39:39 +02:00
parent dfa97c72d0
commit 8fd45302d2
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -74,7 +74,7 @@ def agent(server_url, auth, max_tasks, wait_time, log_level):
from argos.logging import logger
logger.setLevel(log_level)
agent_ = ArgosAgent(server, auth, max_tasks, wait_time)
agent_ = ArgosAgent(server_url, auth, max_tasks, wait_time)
asyncio.run(agent_.run())