Error running agents.tool_maker.unit_manager
j-sofia opened this issue · comments
(base) joey@Joeys-MacBook-Pro OpenAI_Agent_Swarm-main % python3 -m agents.tool_maker.unit_manager
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/joey/Downloads/OpenAI_Agent_Swarm-main/agents/tool_maker/unit_manager.py", line 2, in <module>
from agents.tool_maker.chat_manager import ChatManager
File "/Users/joey/Downloads/OpenAI_Agent_Swarm-main/agents/tool_maker/chat_manager.py", line 8, in <module>
Assistant = type(OpenAI().beta.assistants.list().data[0])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
You need to first add Assistants. Create a tool_maker and temporary_function_writer in the openai webui https://platform.openai.com/assistants