TanStack AI streaming chat endpoint în Worker API
- Adăugat POST /api/chat/stream cu TanStack AI - Suport pentru Claude (anthropicText), Gemini (geminiText), OpenAI (openaiText), OpenRouter - System prompt juridic RO - SSE streaming response via toServerSentEventsResponse - Endpoint protejat cu requireAuth (JWT) - @tanstack/ai, @tanstack/ai-anthropic, @tanstack/ai-gemini, @tanstack/ai-openai instalate în backend - @tanstack/ai-react, @tanstack/ai-client instalate în frontend
| Repository | mihailnica10/misu-legal |
|---|---|
| Author | Mihail Nica <mihailnica10@gmail.com> |
| Authored | |
| Parents | fffde734 |
| Stats | 5 files changed , +2700 , -1155 |
| Part of | Cloudflare replatforming: Supabase/Express → D1 + Drizzle + Hono Worker |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-13a03261.md
from inside the repo you want the change in.