daveshap / OpenAI_Agent_Swarm

HAAS = Hierarchical Autonomous Agent Swarm - "Resistance is futile!"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unit_manager.py will not run

Quenos opened this issue · 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 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?

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

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