From d6877bb55ec6f06ed09114f3b370730cd7d37351 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Sun, 29 Mar 2026 07:21:44 +0000 Subject: [PATCH] fix: correct streamDocumentation URL path to include /v1 prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SSE stream URL was /api/ai-sessions/ but the backend mounts all routes under /api/v1/. This caused a 404, falling through to a non-streaming fallback that returned empty documentation for chat sessions. This is why "Conclude → Resolved" never showed ticket notes. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/api/aiSessions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/api/aiSessions.ts b/frontend/src/api/aiSessions.ts index 2877bbb7..59d82e24 100644 --- a/frontend/src/api/aiSessions.ts +++ b/frontend/src/api/aiSessions.ts @@ -110,7 +110,7 @@ export const aiSessionsApi = { try { const response = await fetch( - `${baseUrl}/api/ai-sessions/${sessionId}/documentation/stream`, + `${baseUrl}/api/v1/ai-sessions/${sessionId}/documentation/stream`, { headers: { Authorization: `Bearer ${token}`,