Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help #267

Closed
hariappi opened this issue Jan 31, 2025 · 1 comment
Closed

Need help #267

hariappi opened this issue Jan 31, 2025 · 1 comment

Comments

@hariappi
Copy link

I'm running into the below error when trying to run demo_agent
I am using Open AI API key.

python3 examples/sample_standard_app/intelligence/test/demo_agent.py
Traceback (most recent call last):
File "/Users/harinadhappidi/PycharmProjects/agentUniverse/examples/sample_standard_app/intelligence/test/demo_agent.py", line 14, in
AgentUniverse().start(config_path='../../config/config.toml', core_mode=True)
File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/agentuniverse.py", line 71, in start
configer = Configer(path=config_path).load()
File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 111, in load
return self.load_by_path(self.__path)
File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 101, in load_by_path
config_data = load_method(path)
File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 172, in __load_toml_file
with open(path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../../config/config.toml'

@LandJerry
Copy link
Collaborator

I'm running into the below error when trying to run demo_agent I am using Open AI API key.

python3 examples/sample_standard_app/intelligence/test/demo_agent.py Traceback (most recent call last): File "/Users/harinadhappidi/PycharmProjects/agentUniverse/examples/sample_standard_app/intelligence/test/demo_agent.py", line 14, in AgentUniverse().start(config_path='../../config/config.toml', core_mode=True) File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/agentuniverse.py", line 71, in start configer = Configer(path=config_path).load() File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 111, in load return self.load_by_path(self.__path) File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 101, in load_by_path config_data = load_method(path) File "/Users/harinadhappidi/.pyenv/versions/3.10.16/lib/python3.10/site-packages/agentuniverse/base/config/configer.py", line 172, in __load_toml_file with open(path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: '../../config/config.toml'

config file can't be found, check the path

@hariappi hariappi closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants