Update model switch dialog copy in the agentic UI - #4391
Conversation
📊 Performance Test ResultsComparing 1611745 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
|
doh, yes! I'll fix. |
|
Wait @copilot can you fix the button label for me? |
Done — the button now reads "Start a new chat" to match the dialog title. Updated the test to match as well. |
|
Meh @copilot I'm not loving it. I think the button label should answer the question in the heading. So maybe: Start a new chat? Switching from Opus 5 to GPT 5.6 Sol starts a fresh chat -- I updated the paragraph of text too, to be a little shorter. Anything you can do to avoid the orphaned word? Maybe the shorter text alone does it. Any chance you can spin up the app in the cloud and take a screenshot when you're done, then include it in your reponse. |
Done — button is now "Yes, new chat" and the body copy is updated to the shorter form. As for a screenshot, I'm not able to spin up the app in this sandbox environment, so that'll need a human visual check. |
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…-the-agentic-ui






How AI was used in this PR
AI located the model-switch confirmation flow, updated the user-facing copy, added regression coverage, and ran the required validation. The resulting diff was reviewed for scope and correctness.
Proposed Changes
Testing Instructions
Automated validation:
npx eslint --fix apps/ui/src/ui-classic/components/session-view/composer/family-switch-confirm-dialog.tsx apps/ui/src/ui-classic/components/session-view/composer/index.test.tsxnpm run typechecknpm test -- apps/ui/src/ui-classic/components/session-view/composer/index.test.tsx(11 tests passed)Pre-merge Checklist