#5561·paseo

bug: provider-side model switch is lost on reload (config.model stays at creation-time model)

Author: edosulaiCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbugp2triageddiagnosing

What's broken

A model switch that comes from the provider side of an ACP session (e.g. the agent's own /model, a config_option_update / current_model_update notification, or another client of the same provider session) updates the agent's runtimeInfo.model, but never agent.config.model. config.model keeps the creation-time value.

On the next reloadAgentSession (manual reload, paseo agent reload, daemon restart), the resumed session is built from that stale config.model, and ACPAgentSession.applyConfiguredOverrides() calls setModel() with it, so the live session is switched back to the old model. The user sees their chat silently revert to the model it was created with.

thinking_option_changed already writes agent.config.thinkingOptionId; model_changed doesn't do the equivalent. Same class of bug as #5141 (mode), for model.

Steps to reproduce

  1. Create an ACP agent with model A.
  2. Switch the model to B from the provider side (not through Paseo's picker), so Paseo receives a model_changed event. paseo inspect shows B.
  3. paseo agent reload <id>.
  4. The session is switched back to A (daemon log shows the configured-override setModel with A); the stored agent JSON still has config.model = A.

Where did this happen

Daemon

Paseo version

0.6.1 (also reproduced against main @ dffde6a with a unit test)

OS version

macOS 27.0

Agent provider

ACP (Hermes)