Bug fixes / v2.1.285
Fix stale limits after mid-session model switch
CHANGELOG · original
Fixed switching models mid-session with a set_model request (such as the Agent SDK's setModel) leaving the new model on the built-in output-token limit and auto-compact window until restart Open official changelog ↗ Related documentation
Background on the feature; see the changelog above for this specific change.