9router/open-sse
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
..
config Refactor config 2026-03-12 16:20:46 +07:00
executors Refactor config 2026-03-12 16:20:46 +07:00
handlers feat: AI SDK compatibility - Accept header & JSON markdown stripping 2026-03-13 10:00:47 +07:00
services Refactor config 2026-03-12 16:20:46 +07:00
transformer feat: enhance request handling and error management in chatCore and streamToJsonConverter 2026-02-15 12:02:53 +07:00
translator feat: Add OpenAI API response_format support for structured JSON output 2026-03-12 16:30:47 +07:00
utils feat(chat): Enhance bypass handling and introduce CC filter naming feature 2026-03-13 09:41:40 +07:00
.npmignore Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
index.js Refactor config 2026-03-12 16:20:46 +07:00