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
..
2026-10-21 10:33:05 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-21 18:16:58 +08:00
2026-10-21 18:16:58 +08:00
2026-10-20 18:46:02 +08:00
2026-10-21 08:44:10 +08:00
2026-10-21 08:44:10 +08:00
2026-10-19 22:07:14 +08:00
2026-10-22 17:21:21 +08:00
2026-10-21 01:11:27 +08:00
2026-10-22 17:21:21 +08:00
2026-10-21 01:11:27 +08:00
2026-10-21 01:11:27 +08:00
2026-10-21 01:11:27 +08:00
2026-10-21 00:23:55 +08:00
2026-10-21 00:23:55 +08:00
2026-10-19 12:59:13 +08:00
2026-10-21 08:07:38 +08:00
2026-10-21 20:19:05 +08:00
2026-10-19 19:00:41 +08:00
2026-10-19 19:00:41 +08:00
2026-10-21 23:04:23 +08:00
2026-10-21 23:04:23 +08:00
2026-10-19 19:00:41 +08:00
2026-10-22 11:55:16 +08:00
2026-10-22 11:55:16 +08:00
2026-10-22 03:41:06 +08:00
2026-10-19 19:00:41 +08:00
2026-10-19 19:00:41 +08:00
2026-10-20 17:05:03 +08:00
2026-10-21 10:33:05 +08:00
2026-10-21 10:33:05 +08:00
2026-10-21 02:19:42 +08:00
2026-10-21 02:19:42 +08:00
2026-10-21 10:33:05 +08:00
2026-10-19 22:07:14 +08:00
2026-10-19 22:07:14 +08:00
2026-10-19 22:07:14 +08:00
2026-10-20 16:57:14 +08:00
2026-10-19 22:07:14 +08:00
2026-10-20 17:17:41 +08:00
2026-10-20 17:05:03 +08:00
2026-10-20 17:05:03 +08:00
2026-10-20 17:05:03 +08:00
2026-10-20 17:05:03 +08:00
2026-10-20 17:05:03 +08:00
2026-10-20 17:05:03 +08:00