Files
CLIProxyAPI/internal
Luis Pater 36c837c642 fix(translator): validate optional Claude chat fields, restore tool names, and handle non-stream errors
- Require numeric positive max_tokens/max_completion_tokens, numeric top_p, and non-empty string stop sequences in OpenAI-to-Claude Chat Completions request translation.
- Restore sanitized Claude function tool names from the original OpenAI request across both streaming and non-streaming response translators using only declared function tools.
- Propagate Claude SSE and native JSON error payloads in ConvertClaudeResponseToOpenAINonStream instead of returning a fabricated empty completion.

Closes: #8214
2026-11-26 11:38:31 +08:00
..
…
…
…
…
…
…
…