Skip to content

feat(app): add model override setting#37087

Open
Frollir wants to merge 1 commit into
anomalyco:devfrom
Frollir:model-override
Open

feat(app): add model override setting#37087
Frollir wants to merge 1 commit into
anomalyco:devfrom
Frollir:model-override

Conversation

@Frollir

@Frollir Frollir commented Jul 15, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #23666

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a General setting to keep the selected model override within the current chat.

Previously, choosing a model override in the composer was effectively one-shot: after sending a message, the selected model/variant could be cleared or restored inconsistently. This change keeps the existing reset behavior by default, but when the new setting is enabled, the selected model and variant are preserved for that chat.

The setting is wired through app settings, both General settings UIs, composer controls, prompt submit handling, and session restore logic.

How did you verify your code works?

Ran from packages/app:

  • bun test --preload ./happydom.ts ./src/components/prompt-input/submit.test.ts
  • bun run typecheck
  • bun run build

Screenshots / recordings

image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

The search results show PR #37087 (the current PR) appearing in multiple searches, but no other PRs with duplicate or highly related functionality. The other PRs that appeared are about different aspects like provider configuration, variant handling in TUI/desktop, and usage tracking—not about preserving model override selections within a chat session.

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI model picker silently resets to agent's default after first message in new session

1 participant