Ke Jin
769ab62fa3
fix(reasoning): preserve compatible response state (#10574)
Preserves authentic plaintext reasoning continuations across Chat Completions and Responses (streaming + non-streaming), applying one target-aware reasoning transport policy before protocol translation. Fixes #10550.
Validated in an isolated worktree boarded onto origin/release/v3.8.50 (0 conflicts, 39 files):
- 446/446 focused node:test tests pass (chat-route-coverage, chatcore-translation-paths, combo-attempt-body-isolation-7847, combo-config, executor-codex, kimi-coding-translator, moonshot-k3, reasoning-cache, response-sanitizer, responses-handler, responses-translation-fixes, strip-reasoning-blobs-agentic-context-1599, translator-openai-responses-req).
- 12/12 vitest tests pass (edit-connection-modal-free-models.test.tsx).
- check-changelog-integrity: OK.
- typecheck:core: clean.
- check-complexity / check-cognitive-complexity: OK, both under baseline.
- file-size: chatHelpers.ts crossed the frozen cap by +2 lines (irreducible reasoningTransportFallback option threading) — rebaselined 1017->1019 with justification, pushed to the PR branch (fix-in-place), re-validated after a base-drift re-merge against the latest release tip.
Co-authored-by: jackjinke <jackjinke@users.noreply.github.com>
2026-08-20 22:20:54 -03:00
..
2026-07-22 20:41:19 -03:00
2026-08-20 06:29:34 -03:00
2026-08-20 11:31:48 -03:00
2026-08-12 16:09:34 -03:00
2026-08-12 16:19:25 -03:00
2026-08-11 08:35:16 -03:00
2026-07-26 12:11:31 -03:00
2026-07-04 13:00:30 -03:00
2026-08-09 09:51:37 -03:00
2026-08-08 09:08:45 -03:00
2026-08-09 09:53:39 -03:00
2026-08-08 12:47:48 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-08-08 11:27:02 -03:00
2026-07-04 13:00:30 -03:00
2026-08-20 19:34:18 -03:00
2026-07-21 13:16:58 -03:00
2026-08-12 08:41:03 -03:00
2026-08-16 00:16:04 -03:00
2026-06-29 08:40:06 -03:00
2026-07-26 03:53:10 -03:00
2026-08-18 10:50:05 -03:00
2026-08-18 12:27:46 -03:00
2026-08-16 00:16:27 -03:00
2026-07-26 03:51:45 -03:00
2026-07-17 11:32:25 -03:00
2026-08-09 09:52:16 -03:00
2026-08-09 09:52:16 -03:00
2026-08-09 09:52:16 -03:00
2026-08-20 10:30:29 -03:00
2026-08-11 07:15:08 -03:00
2026-06-29 08:40:06 -03:00
2026-08-11 09:53:39 -03:00
2026-08-20 11:31:48 -03:00
2026-06-17 19:26:32 -03:00
2026-07-04 13:00:30 -03:00
2026-07-31 07:53:41 -03:00
2026-06-29 08:40:06 -03:00
2026-08-04 23:28:41 -03:00
2026-08-06 05:58:58 -03:00
2026-08-09 09:52:23 -03:00
2026-07-13 09:12:40 -03:00
2026-08-18 11:43:16 -03:00
2026-08-11 09:06:47 -03:00
2026-08-20 22:20:54 -03:00
2026-08-11 08:31:09 -03:00
2026-08-13 00:02:25 -03:00
2026-08-20 22:15:48 -03:00
2026-08-20 06:29:30 -03:00
2026-08-20 22:15:48 -03:00
2026-08-11 08:40:48 -03:00
2026-08-20 06:29:11 -03:00
2026-08-06 06:05:46 -03:00
2026-07-13 09:12:40 -03:00
2026-07-04 13:00:30 -03:00
2026-08-19 11:08:07 -03:00
2026-08-20 20:24:42 -03:00
2026-08-06 11:08:37 -03:00
2026-07-27 19:08:12 -03:00
2026-08-12 08:40:18 -03:00
2026-07-07 13:14:06 -03:00
2026-08-09 09:53:39 -03:00
2026-08-05 22:29:49 -03:00
2026-07-27 17:24:39 -03:00
2026-08-06 11:07:42 -03:00
2026-07-02 10:47:13 -03:00
2026-08-09 09:51:49 -03:00
2026-08-19 12:10:15 -03:00
2026-07-28 10:24:45 -03:00
2026-08-11 08:46:32 -03:00
2026-08-20 10:30:29 -03:00
2026-07-04 13:00:30 -03:00
2026-08-20 18:06:41 -03:00
2026-08-20 09:31:12 -03:00
2026-07-23 01:33:32 -03:00
2026-07-27 17:24:23 -03:00
2026-07-26 03:51:42 -03:00
2026-07-04 13:00:30 -03:00
2026-07-27 21:12:45 -03:00
2026-08-20 22:15:48 -03:00
2026-08-05 22:31:30 -03:00
2026-05-24 18:05:58 -03:00
2026-05-07 00:01:54 +07:00
2026-07-18 21:19:42 -03:00
2026-08-13 07:52:41 -03:00
2026-08-06 00:09:11 -03:00
2026-08-08 07:15:34 -03:00
2026-06-27 09:07:12 -03:00
2026-08-05 22:41:25 -03:00
2026-07-26 03:51:42 -03:00
2026-07-17 12:09:12 -03:00
2026-08-13 07:52:41 -03:00
2026-08-05 16:49:04 -03:00
2026-05-26 23:51:47 -03:00
2026-04-24 07:00:21 -03:00
2026-07-27 17:25:43 -03:00
2026-08-18 10:52:33 -03:00
2026-08-04 21:36:13 -03:00
2026-06-29 08:40:06 -03:00
2026-07-25 02:53:19 -03:00
2026-07-21 13:16:58 -03:00
2026-08-07 20:52:54 -03:00
2026-08-18 10:57:20 -03:00
2026-08-08 09:08:45 -03:00
2026-08-18 12:08:38 -03:00
2026-07-02 10:47:13 -03:00
2026-07-27 17:24:39 -03:00
2026-08-15 05:15:17 -03:00
2026-08-09 09:51:44 -03:00
2026-08-12 16:03:58 -03:00
2026-08-12 15:58:40 -03:00
2026-07-27 17:24:39 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-06-29 08:40:06 -03:00
2026-08-05 22:30:08 -03:00
2026-08-07 11:23:19 -03:00
2026-07-27 17:24:23 -03:00
2026-08-18 10:52:52 -03:00
2026-08-07 11:23:07 -03:00
2026-08-13 00:02:25 -03:00
2026-08-16 00:13:36 -03:00
2026-08-16 00:13:36 -03:00
2026-08-13 07:52:27 -03:00
2026-06-27 09:07:12 -03:00