Spaces:
Sleeping
Sleeping
Commit History
-
Add SSE streaming for token-by-token LLM responses and fix circumplex displayβ
Mahault- Stream through full stack: MistralClient β CoachGenerator β Agent β API β Frontend - Agent step_stream() captures LLM context via flag, yields metadata then tokens - SSE endpoint with event types: metadata, token, done - Frontend renders tokens as they arrive with fallback to non-streaming - Fix circumplex arousal mapping: center [0.1,0.9] to [-0.8,0.8] for display - Update ROADMAP with profile visualization, companion gate, streaming features06e3c51 -
Add user profile visualization panel with Plotly chartsβ
MahaultNew profile-data API endpoint and 5 collapsible visualization sections on the right panel: - Skill belief distributions (horizontal stacked bars with directional arrows showing score changes) - Emotional circumplex (2D valence x arousal with trajectory) - ToM user type dimensions (horizontal bars with reliability badge) - Causal dependency graph (network with bottleneck markers) - Profile facts (observed and inferred with probability bars) All charts auto-refresh after each coaching step.aec707f
-
Add companion mode and LLM status indicatorβ
Mahault- Add /api/status endpoint and frontend badge showing LLM availability (green "Connected" or amber "Template mode") - Fix rigid coaching: detect off-topic/deflection before EFE runs and route to companion mode (LLM or template) instead of pushing exercises - Add _generate_companion_response() fallback for template-only mode05671b4 -
Initial commit: MindSphere Coach β ToM-powered coaching agentβ
MahaultActive Inference coaching system with: - Factored POMDP over 8 skill dimensions + preference/friction factors - Theory of Mind via particle filter over user behavioral types - Empathic planning with reliability-gated G_social blending - Circumplex emotional inference (predict-observe-update loop) - Bayesian network user profile with causal reasoning - Dirichlet concentration parameter learning - Mistral LLM for natural conversation with dynamic context injection - FastAPI + WebSocket backend with vanilla JS frontend - Plotly radar chart visualization - 102 passing tests157b149