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

unit_manager.py will not run #183

Open
Quenos opened this issue Nov 28, 2023 · 3 comments
Open

unit_manager.py will not run #183

Quenos opened this issue Nov 28, 2023 · 3 comments

Comments

@Quenos
Copy link

Quenos commented Nov 28, 2023

trying to get the unit manager to run, but get an error that chat_manager.py can't find the API_KEY.
Made an .env file and tried different locations for it, to no avail.
Also set an export in .bash_profile not working either.

What am I doing wrong?

@OWigginsHay
Copy link
Collaborator

@Quenos hi could you provide what branch you a running and the exact error message?

Chat manager never creates a client, it is only passed one, so it should not throw an error due to API_KEY.
Would you mind letting me know what OS you are using too?

@OWigginsHay
Copy link
Collaborator

OWigginsHay commented Nov 29, 2023

You may have to run unit_manager.py as a module like <python_path> -m agents.tool_maker.unit_manager

@OWigginsHay
Copy link
Collaborator

@Quenos I have merged a PR that should have fixed this issue following the updated README

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