-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
As user I want to describe a single config.yaml with all settings of my agents and their tools, then use it from any folders, but for the right now I have an error:
(.venv) pasha@pasha-lt:~/Repository/nn-nlp/sgr-agent-core$ python sgr_deep_research --config-file examples/agents_with_disabled_reporting/config.yaml
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/storage/Repository/nn-nlp/sgr-agent-core/sgr_deep_research/__main__.py", line 23, in <module>
main()
~~~~^^
File "/storage/Repository/nn-nlp/sgr-agent-core/sgr_deep_research/__main__.py", line 17, in main
config.definitions_from_yaml(args.agents_file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/storage/Repository/nn-nlp/sgr-agent-core/sgr_agent_core/agent_config.py", line 85, in definitions_from_yaml
raise FileNotFoundError(f"Agents definitions file not found: {agents_yaml_path}")
FileNotFoundError: Agents definitions file not found: agents.yaml
Need to make agents.yaml file optional.
Metadata
Metadata
Assignees
Labels
No labels