hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | /** |
| 2 | * The SSE URL for one pending turn: `delta` chunks, then one `done` or |
| 3 | * `error`. Not a request — hand it to an `EventSource` (`withCredentials: true`). |
| 4 | */ |
| 5 | export function chatbotStreamUrl(threadId: string, messageId: string): string { |
| 6 | return `/api/chatbot/threads/${encodeURIComponent(threadId)}/messages/${encodeURIComponent(messageId)}/stream`; |
| 7 | } |