Files
CLIProxyAPI/internal/runtime/executor
Luis Pater 555bdb4bcb fix(antigravity): defer non-stream reasoning replay commit until after translation error checks
- Defer replayAccumulator.Commit in executeClaudeNonStream and cacheAntigravityReasoningReplayFromResponse in Execute until after ApplyPatchTranslationError, empty translation output, and TranslatedClaudeErrorPayload checks pass.
- Preserve pre-grounding response bytes for Execute replay extraction while relying on Commit's existing context.WithoutCancel detachment and leaving non-2xx body reads unchanged by design.
- Add KV-backed regression tests covering rejected apply_patch and translated Claude error turns across both non-streaming paths as well as successful persistence.

Closes: #7888
2026-11-22 23:11:54 +08:00
..