9router/open-sse/translator
Sutarto Jordan Chrisfivo 8f81f17b99 fix(antigravity): preserve Claude tool delta index (#2223)
Gemini response translation wrote OpenAI-shaped bookkeeping into the
shared state.toolCalls map, which the downstream openai-to-claude
translator uses for Claude block metadata. That pre-population skipped
blockIndex creation, so Anthropic input_json_delta events lost index.

Track Gemini function calls via state.geminiToolCallCount instead,
leaving state.toolCalls clean for the Claude translator.

Closes #2218

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 09:36:43 +07:00
..
concerns fix(param-support): handle strip rules without match/drop 2026-06-26 17:20:09 +07:00
formats fix(alicode): preserve cache_control for DashScope providers (#2069) 2026-06-29 15:29:49 +07:00
request fix(translator): map mid-conversation system message to user in claude-to-openai 2026-06-29 15:53:26 +07:00
response fix(antigravity): preserve Claude tool delta index (#2223) 2026-07-01 09:36:43 +07:00
schema Refactor 2026-06-15 18:18:04 +07:00
formats.js feat: add CommandCode provider support 2026-05-07 23:01:33 +07:00
index.js fix(alicode): preserve cache_control for DashScope providers (#2069) 2026-06-29 15:29:49 +07:00