(sessionId: string)
| 428 | } |
| 429 | |
| 430 | async getSessionDocuments(sessionId: string): Promise<{ files: string[]; file_count: number; session: ChatSession }> { |
| 431 | const resp = await fetch(`${API_BASE_URL}/sessions/${sessionId}/documents`); |
| 432 | if (!resp.ok) { |
| 433 | throw new Error(`Failed to fetch session documents: ${resp.status}`); |
| 434 | } |
| 435 | return resp.json(); |
| 436 | } |
| 437 | |
| 438 | // ---------- Index endpoints ---------- |
| 439 |
nothing calls this directly
no outgoing calls
no test coverage detected