Files
CLIProxyAPI/internal
Luis Pater 7075ec9eed fix(translator): handle Claude SSE errors, tool_choice none, and allowed_tools in Responses translator
- Translate Claude SSE error events into response.failed in streaming and failed responses (including native JSON errors) in non-streaming while preserving partial outputs, incomplete call status, and usage.
- Emit tool_choice {"type":"none"} when tools are present and filter declared tools and historical tool_search_output references consistently for allowed_tools with fail-closed handling.
- Add regression tests for error events, tool_choice none, allowed_tools modes and aliases, and mid-stream failures.

Closes: #8224
2026-11-26 13:35:19 +08:00
..
…
…