GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): honor project default model on desktop new threads by mrmg · Pull Request #6593 · pingdotgg/t3code

Conversation

@mrmg

@mrmg mrmg commented Aug 14, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What Changed

Desktop/web new threads now use a project's pinned harness and model when one is set.

The composer was treating leftover sticky picks (and the thread you were looking at) as higher priority than defaultModelSelection. Unsent drafts in a project with a pin now use that pin, including when you move a draft onto that project. An explicit picker change on that draft still wins. Projects without a pin keep the existing sticky/carry behavior.

Fixes #5796.

Why

The project default already existed in Settings and on the server, and mobile already fell back to it. Desktop is the main surface, and the pin did not mean anything there: starting a Cursor Grok thread in one project, then opening another whose default is Claude (or the reverse), still launched the previous harness.

That is how work projects accidentally run the wrong provider.

UI Changes

No layout change. Settings copy for the project New threads → Model row now says the pin applies to new threads and to drafts moved onto the project.

Project New threads model pin

A new thread in that project uses the pin in the composer instead of the last-used harness:

New thread composer uses the project pin

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Honor project default model when creating new desktop threads

  • New draft threads now automatically seed their model from the project's default pin when one is set, instead of using the global sticky/carry selection.
  • Introduces modelSelectionExplicit flag in composerDraftStore to distinguish user-picked models from automatically seeded ones; non-explicit seeds cannot overwrite explicit picks.
  • When a project's default pin is cleared, the draft restores the user's sticky model selection via applyStickyState with replaceExisting: true.
  • Adds shouldHonorProjectDefaultModel, shouldRestoreStickyAfterProjectPinClear, and resolveNewThreadDraftModelSeed utilities in newThreadModelSeed.ts to centralize seeding policy.
  • Behavioral Change: model picker selections in traits and thread views are now marked explicit: true, making them immune to future project-default overrides.

Macroscope summarized 0298831.


Note

Medium Risk
Touches composer model seeding and persistence across ChatView, new-thread flow, and draft store; wrong precedence could send turns on the wrong harness, but behavior is covered by new unit tests.

Overview
Project default model pins now drive the desktop composer for unsent drafts and new threads, instead of leftover global sticky state or the thread you were viewing.

Composer draft state gains modelSelectionExplicit: picker and traits changes set it so project-default seeds cannot overwrite a deliberate choice; sticky and pin seeds stay non-explicit. newThreadModelSeed centralizes when to apply sticky vs project default, when the UI should honor the pin, and when clearing a pin on the same draft should applyStickyState({ replaceExisting: true }). ChatView syncs draft model from the active project default; ChatComposer prioritizes the pin in instance resolution and can draftOverride effective model state; useHandleNewThread seeds via the resolver instead of always sticky-then-carry.

User-facing picker writes pass explicit: true; project settings copy documents pin behavior for new threads and moved drafts.

Reviewed by Cursor Bugbot for commit 0298831. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mrmg @cursoragent
fix(web): honor project default model on desktop new threads
0d7c4a6
A project pin was stored but unused: leftover sticky harness from another
project won in the composer. New threads and remapped drafts now use the
project default unless the user picks a different model on that draft.

Co-authored-by: Cursor <[email protected]>
@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cd4111b9-69db-4cc3-8655-5aa2570bac59

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 14, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 14, 2026
View reviewed changes
Comment thread apps/web/src/composerDraftStore.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Aug 14, 2026
View reviewed changes
Comment thread apps/web/src/components/chat/ChatComposer.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Aug 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This PR adds a new modelSelectionExplicit flag to persisted state and changes model selection priority so project defaults override sticky/carry settings on new threads. This is a significant runtime behavior change affecting how models are selected in the composer.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mrmg @cursoragent
fix(web): actually read isLocalDraftThread when honoring project pins
e6625b8
The composer renamed that prop to an unused binding, so the pin path never
ran. Also restore sticky state when a pin is cleared on an unsent draft.

Co-authored-by: Cursor <[email protected]>
cursor[bot]
cursor Bot reviewed Aug 14, 2026
View reviewed changes
Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

mrmg added a commit to mrmg/t3code that referenced this pull request Aug 14, 2026
@mrmg
Add screenshot pr-6593/new-threads-model-settings.png for pingdotgg#6593
87f1290
mrmg added a commit to mrmg/t3code that referenced this pull request Aug 14, 2026
@mrmg
Add screenshot pr-6593/new-thread-composer-honors-pin.png for pingdot…
cd0795e
…gg#6593
mrmg added a commit to mrmg/t3code that referenced this pull request Aug 14, 2026
@mrmg
Add screenshot pr-6593/new-thread-composer-box.png for pingdotgg#6593
5cf019b
mrmg and others added 3 commits August 14, 2026 10:57
@mrmg @cursoragent
fix(web): scope pin-clear restore to the current draft
cd83520
ChatView stays mounted across draft routes, so a leftover pin key must not
reset the next draft's model. Sticky restore now overwrites the seeded pick.

Co-authored-by: Cursor <[email protected]>
@mrmg @cursoragent
fix(web): keep explicit model picks when seeding a project pin
5940297
Empty-draft reuse was overwriting a picker choice with the project default.
Non-explicit seeds now leave an existing explicit selection alone.

Co-authored-by: Cursor <[email protected]>
@mrmg
Merge branch 'main' into fix/web-honor-project-default-model
5289526
cursor[bot]
cursor Bot reviewed Aug 18, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5289526. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mrmg
fix(web): clear removed project model seed
0298831
@efr-nox efr-nox mentioned this pull request Aug 19, 2026
fix(web): new threads honor the project default model #7511
Closed
@eggfriedrice24 eggfriedrice24 mentioned this pull request Aug 19, 2026
fix(web): new threads honor the project default model #7515
Closed
@t3dotgg t3dotgg mentioned this pull request Aug 27, 2026
fix(web): let new threads honor the project's default model #7551
Closed
2 of 3 tasks
@t3dotgg

t3dotgg commented Aug 28, 2026

Copy link
Copy Markdown
Member

Note

🤖 GPT-5.6 Sol responding on behalf of Theo

We're closing this PR as we clean up the T3 Code backlog. Thank you for taking the time to put this together.

This changes how desktop new threads apply project default models. #6011 is the retained review path for the same user flow, so we are closing this parallel implementation.

If you believe we closed this in error, please reopen the PR and leave a comment explaining what we missed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg t3dotgg closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Project default model is ignored for new threads when another model was selected in a different project

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mrmg @t3dotgg
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.