Skip to content

Conversation

@wizzomafizzo
Copy link

@wizzomafizzo wizzomafizzo commented Jan 9, 2026

What does this PR do?

Adds a new config setting which, when enabled, stops models used in subagents and commands from bubbling up and overriding the main session model on completion.

I am unsure if this is a bug or intended behaviour. It seems like odd behaviour to me that running subagents would modify the parent session's model (and I'd very much not like to have to add a config setting) but I couldn't really be certain based on the comment above it.

How did you verify your code works?

Ran it locally and confirmed behaviour was fixed. Ran tests.

Fixes #7430

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

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

No duplicate PRs found

@fwang fwang force-pushed the feature/isolate-subagent-model branch from 97559c2 to 01dbf4d Compare January 9, 2026 14:38
@fwang
Copy link
Contributor

fwang commented Jan 9, 2026

accidentally committed emails. srubbing from history and working w/ GH support to remove as much as possible.

sorry about the confusion

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.

Models in subagents override TUI session model

3 participants