Files
oh-my-pi/packages/coding-agent/test
can1357 895ff6f3a7 fix(coding-agent): clear pending plan-role model switch on plan-mode exit
When entering plan mode while the session is streaming, #applyPlanModeModel
defers the switch into #pendingModelSwitch and snapshots the previous model.
On exit, the snapshot was restored but the deferred switch was left queued,
so the next agent_end flush landed the session on the plan-role model after
the user had already left plan mode.

Drop the pending switch in #exitPlanMode when its target matches the
plan-role resolution; leave any other queued switch alone.

Fixes #816
2026-04-30 04:51:23 +02:00
..
2026-03-14 10:46:26 +01:00
2026-04-12 01:36:28 +02:00
2026-04-24 22:36:44 +02:00
WIP
2026-03-23 08:54:54 -04:00