发布

  • feat(translator): disambiguate and deduplicate tool names in request/response workflows

    frostbyte_neo 发布于 2026-07-14 20:49:30 +00:00 | 291 次提交 在此版本后已推送到 main

    • Introduced SanitizedFunctionNameMap and DisambiguatedToolNameMap for consistent mapping between sanitized and original tool names.
    • Added collision handling with deterministic hash suffixes for name disambiguation within character limits.
    • Implemented logic to deduplicate and map tool and function names across translator components, including Interactions, Claude, and Gemini.
    • Updated test cases to validate name restoration, deduplication, disambiguation, and mapping behaviors.

    Closes: #4244

    下载附件