OpenAI_Agent_Swarm icon indicating copy to clipboard operation
OpenAI_Agent_Swarm copied to clipboard

unit_manager.py will not run

Open Quenos opened this issue 2 years ago • 3 comments

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?

Quenos avatar Nov 28 '23 16:11 Quenos

@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 avatar Nov 29 '23 18:11 OWigginsHay

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

OWigginsHay avatar Nov 29 '23 18:11 OWigginsHay

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

OWigginsHay avatar Nov 29 '23 23:11 OWigginsHay