Skip to content

Commit

Permalink
update config file with perm hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsinsiddi committed Jan 21, 2025
1 parent 9ab10cc commit 27fafea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configs/config_memeooorr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Memeooorr",
"agent_id": 43,
"hash": "bafybeia34pecf46znvghrbq32trmjwurgxk5ybrslgx6c4xwkmoeqhhsta",
"hash": "bafybeicpoldxi2xsjbczckmhdinp3x4rttiz3mtw7slpaqs5zw3pdvzamq",
"description": "Memeooorr @twitter_handle",
"image": "https://gateway.autonolas.tech/ipfs/QmQYDGMg8m91QQkTWSSmANs5tZwKrmvUCawXZfXVVWQPcu",
"service_version": "v0.2.0-alpha16",
Expand Down
5 changes: 1 addition & 4 deletions tests/test_run_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def get_chain_rpc(output: str, logger: logging.Logger) -> str:
lambda output, logger: create_funding_handler(test_config["RPC_URL"], "predict_trader")(output, logger)
})

return {"prompts": prompts, "test_config": test_config}
return {"prompts": prompts}

def log_expect_match(child, pattern, match_index, logger):
"""Log minimal match information without exposing sensitive data."""
Expand All @@ -732,7 +732,6 @@ def send_input_safely(child, response, logger):
# Clean the response
response = response.strip()

# Send input with a small delay
child.write(response + os.linesep)

except Exception as e:
Expand Down Expand Up @@ -812,8 +811,6 @@ def ignore_patterns(path, names):
with open(temp_config_path, 'r') as f:
config_data = json.load(f)

# Update hash
config_data['hash'] = "bafybeicpoldxi2xsjbczckmhdinp3x4rttiz3mtw7slpaqs5zw3pdvzamq"

# Modify env variables - create new dict instead of modifying
if 'env_variables' in config_data:
Expand Down

0 comments on commit 27fafea

Please sign in to comment.