Spaces:
Sleeping
Sleeping
Update main.py
Browse files31 unmodified lines3233343535363738321 unmodified lines360361362363364363364365366367367368369370110 unmodified lines48148248348448548648748848448548648748848949049131 unmodified lines# ββ App Setup βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββapp = FastAPI( title="Intern Problem-Solving API", description="Multi-agent system: Analyst β Root Cause β Solutions β Action Plan", description="5-step pipeline: Analysis β Root Cause β Solutions β Action Plan β Reflection", version="1.0.0",)
321 unmodified lines fontSize=8, fontName="Helvetica", textColor=GRAY, alignment=1)
SECTIONS = [ ("Problem Analyst", analysis.problem_statement), ("Root Cause Analyst", analysis.root_causes), ("Problem Analysis", analysis.problem_statement), ("Root Cause", analysis.root_causes), ("Solutions", analysis.solutions), ("Action Plan", analysis.action_plan), ("Thinking Coach", analysis.thinking_feedback), ("Reflection", analysis.thinking_feedback), ]
def render_block(md_text: str) -> list:110 unmodified lines
def event_stream(): agents = [ ("analyst", AGENT_ANALYST, "Problem Analyst"), ("root_cause", AGENT_ROOT_CAUSE, "Root Cause Analyst"), ("solutions", AGENT_SOLUTIONS, "Solution Brainstorm"), ("action_plan", AGENT_ACTION_PLANNER, "Action Planner"), ("thinking", AGENT_THINKING_COACH, "Thinking Coach"), ("analyst", AGENT_ANALYST, "Problem Analysis"), ("root_cause", AGENT_ROOT_CAUSE, "Root Cause"), ("solutions", AGENT_SOLUTIONS, "Solutions"), ("action_plan", AGENT_ACTION_PLANNER, "Action Plan"), ("thinking", AGENT_THINKING_COACH, "Reflection"), ]
context = {main.py+9-9