发布

  • feat(translator): enhance handling of custom tool calls and improve tool call batching logic

    frostbyte_neo 发布于 2026-07-14 19:14:05 +00:00 | 292 次提交 在此版本后已推送到 main

    • Introduced support for custom tool calls in request serialization, including preservation of call IDs, input, and output.
    • Enhanced tool call batching logic to handle ambiguous, missing, and reused call IDs across assistant messages.
    • Updated processing of tool call outputs to ensure proper matching with pending calls and introduced synthesized IDs when necessary.
    • Added extensive test cases to validate behavior for custom tool call histories, mixed call types, and edge cases with ambiguous or orphaned IDs.

    Closes: #4256

    下载附件