jgravelle / AutoGroq

AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assistants. By dynamically generating tailored teams of AI agents based on your project requirements, AutoGroq eliminates the need for manual configuration and allows you to tackle any question, problem, or project with ease and efficiency.
https://autogroq.streamlit.app/
1.21k stars 423 forks source link

Update agent_base_model.py #49

Closed ruanwz closed 1 month ago

ruanwz commented 1 month ago

fix error: agent_names = ["Select one..."] + [agent.get('name', f"Agent {index + 1}") for index, agent in enumerate(st.session_state.agents)] ^^^^^^^^^ AttributeError: 'AgentBaseModel' object has no attribute 'get'