Files
vscode/extensions
d4bfecdaa8 chat: normalize tool call IDs across model switches (#325813)
* chat: normalize tool call IDs across model switches

Kimi requires function-indexed tool call IDs, while Anthropic accepts only a restricted character set. Normalize outbound request copies for each provider without mutating stored conversation history.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: avoid collisions in normalized tool call IDs

Reserve valid IDs before allocating sanitized Anthropic IDs, then reuse the request-scoped mapping for matching tool results.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 17:11:45 +00:00
..
2026-07-10 12:59:32 +00:00
2026-07-14 12:34:04 +02:00
2026-07-14 12:34:04 +02:00