Files
CLIProxyAPI/internal/translator/codex/openai
Luis Pater bee20b9940 fix(codex): sanitize invalid tool name characters for upstream compatibility
- 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
2026-09-08 02:53:30 +08:00
..