chat-ui
Preserve reasoning and replay tool history across turns
#2470
Merged

Preserve reasoning and replay tool history across turns #2470

pngwn merged 32 commits into main from preserve-reasoning-tool-replay
gary149
gary149 Preserve reasoning and replay tool history for multi-turn tool calling
4e9a80ef
gary149 Measure streaming TTFT and throughput in the replay harness
f8865aa3
gary149 Harden tool history replay: provider-safe ids, honest interrupts, siz…
ce6265ad
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-30
gary149 Extend reasoning_content replay to the plain completion flow
56382cfe
gary149 gary149 changed the title Preserve reasoning and replay tool history across turns in the MCP flow Preserve reasoning and replay tool history across turns 21 days ago
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-30
gary149 Clarify why replayed reasoning attaches to the final message
c04f2e9c
gary149 Make replay budget degradation monotonic
2f773dd3
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Attribute replayed reasoning to its tool round; honor user reasoning …
d7fcbfb4
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Accept reasoning_text as a third incoming reasoning field
24ec8592
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Flag reasoning support for DeepSeek-V4-Flash and Qwen3.6 models
2ba08f81
gary149 Teach sync-models that supportsReasoning also gates reasoning replay
e1c5f1dc
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Fix reasoning byte fidelity, preamble attribution, and budget-fallbac…
20407036
gary149 Fix preamble duplication on replay and whitespace loss in reasoning s…
120ffdb1
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Strip Gemma-flow think leak, gate cross-producer reasoning, persist r…
2530e4f1
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Fix leading-whitespace reasoning loss, stale-producer reasoning after…
64425f07
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Omit empty replayed final messages; fail the harness when the nonce r…
d8a97004
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Scope round-reasoning dedup to a positional match; omit phantom empty…
05aa6162
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
gary149 Prefix-only preamble dedup, empty-flat guard, per-rep coherence gate
7e0c7a24
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-31
pngwn
pngwn commented on 2026-08-03
gary149 Merge remote-tracking branch 'origin/main' into preserve-reasoning-to…
bc8e231e
pngwn test: end-to-end harness for reasoning + tool-history replay
831d0f1b
pngwn test: re-scope replay findings as characterisation tests
24e87797
pngwn Apply the whitespace-reasoning rule to the tool-less flow too
de3a0399
pngwn Backfill producer metadata without replacing the message array
3d798dce
pngwn Lock in that recording a producer never moves the pinned model
9ffae6d2
pngwn Budget the whole outgoing history, not just the replayed part
36e75a3e
pngwn Fail the harness on a successful response with no answer
5eead9e0
pngwn Bound the history budget by the model's context window
14d9ce81
pngwn Gate the in-loop reasoning echo on the same capability as replay
1354c4ea
pngwn Follow the production gate in the in-loop harness scenario
1c5bcea5
pngwn
pngwn Merge branch 'main' into preserve-reasoning-tool-replay
f6cfcda8
abidlabs abidlabs requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 10 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-08-10
pngwn Share the model-switch backfill with the v2 API endpoint
1c6e3e7c
pngwn Reserve the model's configured reply allowance, not a constant
8879bd0c
abidlabs
pngwn Default reasoning replay on, with a blocklist for the exceptions
2fa0ef1b
pngwn
abidlabs
abidlabs
abidlabs approved these changes on 2026-08-11
pngwn pngwn merged 108b97bc into main 9 days ago
pngwn pngwn deleted the preserve-reasoning-tool-replay branch 9 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone