Skip to content

Unable to run testzeus-hercules with config file #64

@shivanikadam910

Description

@shivanikadam910

JSON file:
{
"huggingface": {
"planner_agent": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.2",
"model_api_key": "hf_api_key",
"model_api_type": "huggingface",
"llm_config_params": {
"temperature": 0.0,
"top_p": 0.001
}
},
"nav_agent": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.2",
"model_api_key": "hf_api_key",
"model_api_type": "huggingface",
"llm_config_params": {
"temperature": 0.0,
"top_p": 0.001
}
},
"mem_agent": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.2",
"model_api_key": "hf_api_key",
"model_api_type": "huggingface",
"llm_config_params": {
"temperature": 0.0,
"top_p": 0.001
}
},
"helper_agent": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.2",
"model_api_key": "hf_api_key",
"model_api_type": "huggingface",
"llm_config_params": {
"temperature": 0.0,
"top_p": 0.001
}
}
}
}

CONFIG FILE
input_file: ./input/test.feature
output_path: ./output
test_data_path: ./test_data

llm_model: dummy # This gets overridden by agents_llm_config.json
llm_model_api_key: dummy # Also overridden

log_level: DEBUG

browser: chromium
headless: false
save_proofs: true

=====================================
When I run with this command:
testzeus-hercules --config ./hercules.config.yaml

it ends after showing logs
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:48} - Global config changed, reinitializing AgentsLLMConfigManager
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:133} - Loading agent config from file: ./agents_llm_config.json
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:135} - Using reference key: huggingface
[2025-07-20 11:56:32] INFO {config_file_loader.py:38} - Loading configuration from: ./agents_llm_config.json with key: huggingface
[2025-07-20 11:56:32] INFO {agent_registry.py:22} - Registering provider: huggingface with 4 agent configs
[2025-07-20 11:56:32] INFO {agent_registry.py:36} - Setting active provider to: huggingface
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:155} - Successfully loaded configuration from file with provider: huggingface
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:133} - Loading agent config from file: ./agents_llm_config.json
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:135} - Using reference key: huggingface
[2025-07-20 11:56:32] INFO {config_file_loader.py:38} - Loading configuration from: ./agents_llm_config.json with key: huggingface
[2025-07-20 11:56:32] INFO {agent_registry.py:22} - Registering provider: huggingface with 4 agent configs
[2025-07-20 11:56:32] INFO {agent_registry.py:36} - Setting active provider to: huggingface
[2025-07-20 11:56:32] INFO {agents_llm_config_manager.py:155} - Successfully loaded configuration from file with provider: huggingface
[2025-07-20 11:56:32] INFO {simple_hercules.py:145} - >>> Creating SimpleHercules, Planner max chat rounds: 500, browser nav max chat rounds: 10. Save chat logs to files: True

ends here.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions