mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-06 16:15:50 +08:00
- 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