9router/open-sse/translator/helpers
decolua 997860aa1f refactor(open-sse): dedup fallback tool_call id helper (B3)
Add fallbackToolCallId() and apply to kiro/ollama/openai-responses response
translators (identical id shape). Leave commandcode (different order) and
request-side gemini/antigravity (random suffix) untouched. Golden + gate clean.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-13 18:12:40 +07:00
..
chunkBuilder.js refactor(open-sse): extract chunkBuilder, dedup chat.completion.chunk (B1) 2026-06-13 17:05:42 +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 refactor(open-sse): dedup fallback tool_call id helper (B3) 2026-06-13 18:12:40 +07:00
usageHelper.js refactor(open-sse): extract buildUsage helper, dedup token-details (B2) 2026-06-13 17:18:15 +07:00