9router/open-sse/translator/helpers
decolua b87cf0c96a refactor(open-sse): extract safeParseJSON util, dedup tryParseJSON (B5)
Consolidate two tryParseJSON variants into helpers/jsonUtil.js with explicit
fallback param. Preserve exact per-call semantics: openai-to-claude passthrough
(fallback=str), geminiHelper null. geminiHelper keeps tryParseJSON re-export.
No behavior change; gate: no regression.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-13 16:45:10 +07:00
..
claudeHelper.js fix: add normalization for Claude passthrough bodies 2026-06-08 15:37:01 +07:00
geminiHelper.js refactor(open-sse): extract safeParseJSON util, dedup tryParseJSON (B5) 2026-06-13 16:45:10 +07:00
imageHelper.js fix(codex): await image URL fetches before sending to upstream (closes #575) 2026-04-17 12:15:10 +07:00
jsonUtil.js refactor(open-sse): extract safeParseJSON util, dedup tryParseJSON (B5) 2026-06-13 16:45:10 +07:00
maxTokensHelper.js feat(claude-code): spoof TLS fingerprint and stabilize headers for Anthropic 2026-03-30 16:27:28 +07:00
openaiHelper.js fix: normalize developer role to system for OpenAI-format providers (#1011) 2026-05-11 15:57:28 +07:00
responsesApiHelper.js fix: skip function_call items with empty/missing name to prevent Codex 400 error (closes #444) (#487) 2026-04-04 08:51:00 +07:00
toolCallHelper.js Fix bug 2026-04-11 11:36:33 +07:00