Switching models now throws away prewarm work done for the old model instead of finishing it stale.
What's wrong with this entry?
Changing models now discards any precomputed prewarm work tied to the previous model instead of letting it complete against stale state.
- Both the app-state model change handler and the remote model-switch path call the precompute-cache invalidator with the reason
model_switch. - Any in-flight prewarm is aborted with an AbortError named for that reason.
- Same mechanism previously used only for
subagent_exit.
l_t(void 0, "model_switch")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Search field in the model picker
Both mention model
-
v2.1.236
Cancellable waits when
/modeltalks to a cloud sessionBoth mention model
-
v2.1.238
Model and effort switch warning now checks whether the cache is actually warm
Both mention model