cryogenic22 commited on
Commit
0f0a80d
·
verified ·
1 Parent(s): 24f5cef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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.")