Commit dca6ff1
fix(replay): preserve agent on fallback prompt replay
Pass `agent` in the session.prompt body so the fallback model runs
with the same agent as the original request. Without this, OpenCode
defaults to its built-in plan agent (read-only mode), causing the
fallback model to refuse tool execution.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent eebff47 commit dca6ff1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
0 commit comments