mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-19 23:28:50 +08:00
- Replace characters outside `[a-zA-Z0-9_-]` with underscores during tool name shortening to meet Codex upstream requirements. - Collect tool names across `tools` declarations, `tool_choice`, and assistant `tool_calls` history in requests to ensure consistent shortening and reverse restoration. Closes: #5564