fix: preserve OpenAI encrypted reasoning replay

This commit is contained in:
Peter Steinberger
2026-04-27 23:53:41 +01:00
parent ea2d95e23e
commit 78d3fce5f9
8 changed files with 294 additions and 51 deletions

View File

@@ -112,6 +112,7 @@ external end-user instructions.
- Image sanitization only.
- Drop orphaned reasoning signatures (standalone reasoning items without a following content block) for OpenAI Responses/Codex transcripts, and drop replayable OpenAI reasoning after a model route switch.
- Preserve replayable OpenAI Responses reasoning item payloads, including encrypted empty-summary items, so manual/WebSocket replay keeps required `rs_*` state paired with assistant output items.
- No tool call id sanitization.
- Tool result pairing repair may move real matched outputs and synthesize Codex-style `aborted` outputs for missing tool calls.
- No turn validation or reordering.