- Backend: set status to ai_mode in the route handler before submitting to AI runner, eliminating the race condition where frontend's immediate status poll read the old status - Frontend: replace all raw isAiModeActive prop usages with effectiveAiModeActive in DiscussionPanel (13 locations) so ReasoningPanel, status text, loading indicator, and manual/AI controls all reflect the correct state instantly on Start AI Mode click - Frontend: add useEffect to sync localAiModeActive back to null once the parent prop catches up, preventing permanent override after natural session end - These fixes also unblock the 3-second AI message polling which was never activating due to isAiModeActive staying false Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ai_personas.py | ||
| auth.py | ||
| focus_group_ai.py | ||
| focus_groups.py | ||
| folders.py | ||
| personas.py | ||
| tasks.py | ||