Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -240,6 +240,11 @@ with st.sidebar:
|
|
| 240 |
st.success("✓ All agents initialized successfully")
|
| 241 |
# Store agents in session state
|
| 242 |
st.session_state.agents = agents_or_error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
else:
|
| 244 |
st.error(f"Failed to initialize agents: {agents_or_error}")
|
| 245 |
st.info("Try refreshing the page or check logs.")
|
|
|
|
| 240 |
st.success("✓ All agents initialized successfully")
|
| 241 |
# Store agents in session state
|
| 242 |
st.session_state.agents = agents_or_error
|
| 243 |
+
|
| 244 |
+
# Add the new debug expander
|
| 245 |
+
with st.expander("Loaded Agents"):
|
| 246 |
+
for agent_name, agent_class in st.session_state.agents.items():
|
| 247 |
+
st.write(f"✓ {agent_name} loaded")
|
| 248 |
else:
|
| 249 |
st.error(f"Failed to initialize agents: {agents_or_error}")
|
| 250 |
st.info("Try refreshing the page or check logs.")
|