OpenCode reports an oversized session as a bare InvalidRequest, so the run failed with the provider's generic 'invalid parameters' text and every retry failed identically. When the window is known and this turn's observed input already meets it, fail with what actually happened plus the recovery (fork from an earlier completed run or start fresh). Anything without size evidence keeps the original error.
Imamuzzaki Abu Salam committed on 10/23/2026, 1:05:20 AMparent5127302
3 files changedLine totals unavailable