fix: show model-change divider above triggering user message #415

Merged
dries merged 1 commit from fix/model-change-divider-above-user into main 2026-07-21 10:58:11 +02:00
Owner

The model-change divider rendered below the user message that switched models (above the assistant reply). It now renders above the user turn that triggered the switch, so the divider precedes the message sent under the new model.

  • Attribute the modelChangedTo flag to the preceding user turn, falling back to the assistant message when no user turn precedes it.
  • UserMessage renders the divider before its bubble.
The model-change divider rendered below the user message that switched models (above the assistant reply). It now renders above the user turn that triggered the switch, so the divider precedes the message sent under the new model. - Attribute the `modelChangedTo` flag to the preceding user turn, falling back to the assistant message when no user turn precedes it. - `UserMessage` renders the divider before its bubble.
fix: show model-change divider above triggering user message
All checks were successful
CI / Build Desktop (macOS arm64) (pull_request) Successful in 2m5s
CI / Backend (pull_request) Successful in 4m27s
CI / Frontend (pull_request) Successful in 5m40s
CI / Coverage Results (pull_request) Successful in 33s
CI / Playwright E2E (pull_request) Successful in 7m49s
CI / Build (pull_request) Successful in 3m56s
CI / Semantic Tag (pull_request) Successful in 4s
be02b93c54

Coverage ratchet: pass

Suite Baseline This PR Δ
frontend 66.40% 66.41% +0.01
go 77.70% 77.60% -0.10

Tolerance: -0.1%. Baseline stored on gh-pages.

<!-- coverage-ratchet --> ### Coverage ratchet: ✅ pass | Suite | Baseline | This PR | Δ | | |---|---|---|---|---| | frontend | 66.40% | 66.41% | +0.01 | ✅ | | go | 77.70% | 77.60% | -0.10 | ✅ | _Tolerance: -0.1%. Baseline stored on `gh-pages`._
dries merged commit a89f2d5bd6 into main 2026-07-21 10:58:11 +02:00
Sign in to join this conversation.
No description provided.