A model picked mid-turn is applied at the next turn start, but the end-of-turn session.info (_emit_settled_session_info) reads the still-live agent — the OLD model — and clobbered the optimistic paint, so the UI showed the new model, then snapped back to the old one when the turn ended, then switched for real on the next turn. Report the queued pick's model/provider in _session_info while a switch is pending (it IS the model the next turn runs), so the display stays on the user's choice through the settle. Cleared once the switch applies. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _stdin_recovery.py | ||
| compute_host.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| host_supervisor.py | ||
| loop_noise.py | ||
| method_ctx.py | ||
| methods_complete.py | ||
| methods_config.py | ||
| methods_prompt.py | ||
| methods_session.py | ||
| methods_tools.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| synthetic_turn.py | ||
| transport.py | ||
| turn_marker.py | ||
| ws.py | ||