| … | … | @@ -259,16 +261,44 @@ export function makeGrokAcpAdapterFlavor(options: GrokAdapterV2Options): AcpAdap | |
| 291 | + | }), | |
| 292 | + | }, | |
| 293 | + | currentModelId, | |
| 294 | + | currentReasoningEffort: legacy | |
🟡 Medium Adapters/GrokAdapterV2.ts:294
On protocol 1, switching a live session from xhigh to low and back to xhigh leaves the actual session at low, because currentReasoningEffort is reread from the initial immutable setup metadata. The wrapper updates only currentModelId, so applyGrokAcpModelSelection incorrectly skips the second setSessionModel; track the applied reasoning effort alongside the active model or refresh it from live session state.
No longer relevant as of 0b66d2566608931464ae00b6b7f52a125efc8780
Right: the stored setup only tracks the model id, so the second switch compared against the setup-time xhigh. 0b66d256 hands applyModelSelection the selection the session was last configured with (previousSelection, null on activation) and baselines protocol 1 on that selection's effort before the setup metadata. Covered by returns a protocol 1 session to its setup-time effort after a live change (fails without the change) and an AcpAdapterV2 case for the wiring.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.