feat(app): persist model selection per agent #28111
Conversation
…ettings Add two settings toggles to control model persistence: - Persist model per agent (opt-in): stores model/variant per agent name - Persist model across sessions (default: on): controls session-scoped persistence When per-agent is enabled, switching agents restores that agent's last used model, matching the TUI behavior. Also removes stray console.log(import.meta.env) in settings-general.tsx.
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, I found several related PRs that address similar functionality: Related PRs (not current PR):
These PRs address similar aspects of model persistence and per-agent configuration. However, PR #28111 (the current PR) appears to be the main implementation for this feature set, specifically addressing issue #28110 with web app persistence settings, while the others are related but distinct implementations (TUI-focused or session-scoped toggles). |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Issue for this PR
Closes #18359
Type of change
What does this PR do?
Persist model selection per agent with user-configurable settings
Add two settings toggles to control model persistence:
When per-agent is enabled, switching agents restores that agent's last used model, matching the TUI behavior.
(Also removes stray console.log(import.meta.env) in settings-general.tsx)
How did you verify your code works?
I tested it locally
Screenshots / recordings
Checklist