Repository navigation
feat: show when the model changes between tasks - #2098
Merged
Merged
Conversation
This was referenced Oct 22, 2026
Douglasymlai
marked this pull request as ready for review
October 22, 2026 23:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Related Issue
Split out of #1958 (chat timeline presentation and controls) so it can be reviewed on its own. Builds on #2061, which added each Task's resolved model to the Run list.
Description
Problem
If you switch models partway through a Session, nothing in the chat shows which Tasks ran on which model. Reading back through a Session, you can't tell where the switch happened.
Cause
The chat had no per-Task model information. #2061 added the model each Task actually ran on to the Run list, but the chat never read it.
Fix
Separatorand meta text styles, and a long model name is truncated with its full text in a tooltip.Testing Evidence (REQUIRED)
Automated:
npx vitest run --config vitest.config.ts test/unit/components/ChatBox test/unit/service test/unit/hooks: 1369 tests passed. One file,useInstallationSetup.test.ts, fails to load the same way on a cleanmaincheckout, so it is unrelated to this change.npm run type-check, ESLint and Prettier on the changed files,npm run check:i18n,npm run check:design-tokensandgit diff --checkall pass.Manual verification: not done yet. To check: open a Session, run a Task, switch the model, run another Task. The divider should appear above the second Task once it starts or finishes, in both the default chat view and the event timeline (
VITE_CHATBOX_EVENT_BUS=true). Also check light and dark themes and a narrow window.What is the purpose of this pull request?
Contribution Guidelines Acknowledgement