Repository navigation
feat(btw): Add model defaults and refine activity indicators - #4029
Merged
Merged
Conversation
Allow new side questions to inherit their parent or use a saved model or pool on the execution host. Preserve explicit child choices and unavailable selections, and negotiate support with older peers. Group model defaults and close confirmation under Session & Memory. Migrate old settings links and update search, translations, and docs. Validation: focused Rust and frontend tests, check:web, i18n audit, capability checks, and core boundary checks. Remote coverage uses workspace fixtures and simulated Peer switches.
Keep running and finishing side questions from lighting the main session overview indicator. Preserve activity reporting for subagents and background commands. Cover active BTW states, nested side questions, and mixed subagent activity with regression tests. Validation: 40 focused tests and pnpm run check:web passed.
Use explicit assignment when invalidating pending BTW model loads in effect cleanup, and remove the obsolete shared-default callback dependency. Validation: lint:web passed with 0 errors and one existing WidgetView warning; check:web and 142 focused settings/model-selector tests passed.
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.
Summary
/btwside questions: inherit the parent (default), select a configured model, or select a model pool.Type and Areas
Type: Feature, bug fix, UI/UX
Areas: Rust core/config contracts, Desktop/Tauri, CLI Peer host, Web UI, localization, docs
Motivation / Impact
Users can choose a separate model for side questions while retaining parent inheritance by default. The execution host applies the default on first submission, and an explicit choice in a side question takes precedence. Existing side questions retain their own selection.
A running BTW session previously activated the overview indicator despite being absent from the Agent tree. Excluding BTW activity keeps the indicator aligned with the activities users expect to find there.
Verification
The following checks passed during implementation:
Focused frontend checks also passed:
These groups passed 40 and 83 tests respectively. Additional focused tests covered model selection, initial submission, Peer capability negotiation, session lifecycle, and settings loading.
The lint follow-up passed
pnpm run lint:webwith 0 errors and one pre-existingreact-refresh/only-export-componentswarning inWidgetView.tsx. The following model-setting and model-selector regression group passed 142 tests:Reviewer Notes
btw_model_defaults_v1; older hosts retain their existing path and show the setting as unsupported. Existing settings capability IDs and historical wire destinations are preserved.Checklist