hezarfen_frontend
Clone
https://git.tahinli.com/Hezarfen/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | /** |
| 2 | * The SSE URL for one pending turn. Not a request — hand it to an |
| 3 | * `EventSource` (`withCredentials: true`), the way the çelebi panel does. |
| 4 | */ |
| 5 | export function ragStreamUrl(threadId: string, messageId: string): string { |
| 6 | return `/api/rag/threads/${encodeURIComponent(threadId)}/messages/${encodeURIComponent(messageId)}/stream`; |
| 7 | } |