Files
CLIProxyAPI/internal/runtime/executor
Luis Pater c2dfec28d5 fix(claude): map model_context_window_exceeded to length in chat completions
- Map Claude model_context_window_exceeded stop reason to finish_reason length in OpenAI Chat Completions and remove the synthetic context_length_exceeded HTTP 400 error path so generated content, tool calls, and usage are preserved.
- Preserve finish_reason length when non-streaming Chat Completions responses are truncated inside a tool call by max_tokens or model_context_window_exceeded.

Closes: #6861
2026-10-22 17:21:21 +08:00
..