From 652dafca1a3d16dfa7c1a0909a7bfe88410df5d9 Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Fri, 31 May 2024 14:15:05 +0530 Subject: [PATCH] fix: run aea init before fetching agent --- operate/services/service.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/operate/services/service.py b/operate/services/service.py index 47a491638..0d7ea5a43 100644 --- a/operate/services/service.py +++ b/operate/services/service.py @@ -314,6 +314,20 @@ def _setup_agent(working_dir: Path) -> None: abin = str(venv / "bin" / "aea") # Fetch agent + _run_cmd( + args=[ + abin, + "init", + "--reset", + "--author", + "valory", + "--remote", + "--ipfs", + "--ipfs-node", + "/dns/registry.autonolas.tech/tcp/443/https", + ], + cwd=working_dir, + ) _run_cmd( args=[ abin,