Skip to content

Commit

Permalink
Merge pull request #8 from valory-xyz/fix/agent
Browse files Browse the repository at this point in the history
fix: agent not starting
  • Loading branch information
KahanMajmudar authored Feb 19, 2025
2 parents d9bf898 + 6117a92 commit f45d175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def main() -> None:


# deploy a mech if doesnt exist already
if not mech_quickstart_config.agent_id:
if not mech_quickstart_config.mech_address:
chain_config = service.chain_configs[home_chain_id]
ledger_config = chain_config.ledger_config
sftxb = manager.get_eth_safe_tx_builder(ledger_config)
Expand Down Expand Up @@ -324,6 +324,7 @@ def main() -> None:
"ON_CHAIN_SERVICE_ID": service.chain_configs[home_chain_id].chain_data.token,
"TOOLS_TO_PACKAGE_HASH": json.dumps(tools_to_packages_hash, separators=(',', ':')),
"GNOSIS_RPC_0": mech_quickstart_config.gnosis_rpc,
"AGENT_ID": 3
}
apply_env_vars(env_vars)

Expand Down

0 comments on commit f45d175

Please sign in to comment.