Skip to content

Commit

Permalink
fix: run aea init before fetching agent
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed May 31, 2024
1 parent a34b1f1 commit 652dafc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions operate/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 652dafc

Please sign in to comment.