fix: correct streamDocumentation URL path to include /v1 prefix
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user