9router/open-sse/handlers/chatCore
Nick Roth d12b14f411 feat: AI SDK compatibility - Accept header & JSON markdown stripping
- Respect Accept: application/json header to return non-streaming JSON
  instead of SSE, fixing AI SDK generateObject/generateText compatibility
- Strip markdown code block markers (```json...```) from Claude
  non-streaming responses to prevent JSON parse errors

Cherry-picked and adapted from PR #290 by @rothnic
https://github.com/decolua/9router/pull/290

Made-with: Cursor
2026-03-13 10:00:47 +07:00
..
nonStreamingHandler.js feat: AI SDK compatibility - Accept header & JSON markdown stripping 2026-03-13 10:00:47 +07:00
requestDetail.js Feat : console log 2026-03-02 09:31:16 +07:00
sseToJsonHandler.js Refactor config 2026-03-12 16:20:46 +07:00
streamingHandler.js - Refactor chatCore.js to streamline imports and remove unused functions. 2026-02-27 11:15:12 +07:00