Spaces:
Sleeping
Sleeping
Commit History
-
feat: fetch and render charts for chat answers via /api/v1/charts
harryagasi- Add getCharts client and ChartSpec/ChartItem/ChartsResponse types - Auto-fetch charts for each completed AI message once message_id is known, mirroring the existing traceability fetch pattern - Treat empty/not_found chart status as silent no-op (no error shown); log not_found for debugging only - Render fetched charts under the assistant bubble reusing PlotlyChartBlock from report renderingb5e46e4
-
feat: sort analyses by updated_at, render data_used in traceability
harryagasi- Sort analysis list by updated_at (desc) on load, select, create, and data-bind update - Add data_used field to traceability response type and render it in a dedicated section - Move tool calls behind a collapsible "Details" section instead of showing inline - Update API contract docs for soft-delete analysis behavior and traceability data_used/tool_calls fields98ca5fc
-
fix: handle failed AI message persistence per updated Go contract
harryagasiBackend now returns 201 with status:"failed" and a reserved all-zero message_id when an AI message is saved without a valid message_id, instead of a request error. Surface this as an error bubble and skip calling traceability with the reserved id.587748b -
fix: update traceability endpoint, remove retry logic, and fix report stale version
harryagasi- Update GET traceability path from /api/v1/observability to /api/v1/traceability - Remove 3x retry logic on 404: contract guarantees row is written before done event - Update 404 error message to "Traceability not available for this answer" - Remove unused wait helper - Use message_id from API response (savedUi.messageId) instead of doneMessageId from agentic stream, now that Golang backend returns message_id in POST/GET responses - Fix ReportSidebar stale selectedVersion: reset versions and selectedVersion synchronously on analysis change to prevent cross-analysis 404 report requests - Update API_CONTRACT_BE_PYTHON.md to reflect endpoint and behavior changese2da2f6
-
fix: improve analysis chat rendering, scroll, and traceability persistence
harryagasi- Fix bold markdown not rendering: reorder repairMarkdownMarkers so space-adding runs before trim, preventing trim from being undone - Apply same fix to normalizeAssistantContent before saving to DB - Add auto-scroll to bottom on send, scroll to top of AI answer on stream complete - Tighten markdown spacing (my-3→my-1.5, leading-7→leading-6, space-y-2→space-y-0.5) - Fix traceability disappearing on page refresh by using message_id returned from API (now provided by backend) instead of hardcoding doneMessageId from the agentic streameb3bd3c -
feat: refine analysis workspace navigation and theming
harryagasi- Move analysis creation and saved analysis list under Analysis Agent menu - Add collapsible desktop sidebar and dark mode support - Keep login page light-only with readable input text - Flatten Knowledge page layout and improve dark mode styling - Update Python chat contract to return message_id from backend9932e86
-
feat: implement dual-backend analysis workspace UX
harryagasi- add Home, Knowledge, and Analysis Agent primary navigation - promote Knowledge setup into a first-class workspace page - wire Golang orchestration flows for auth, knowledge, analysis, and messages - wire Python agentic flows for chat, Help, reports, and traceability - move AI traceability into collapsible answer-level sections - add collapsible report sidebar with version preview - add backend diagnostics and clearer blocker/error states - update spec-kit tasks and quickstart validation notes30cd0c9