Repository navigation
Replies: 1 comment
|
Closing: current main already covers this as of 9f40b2f563. If you still see it on a build that includes that commit, reply and we'll reopen. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web
Problem or use case
T3 already supports multiple instances of the same provider, which is useful for keeping work and personal subscriptions or account contexts separate.
However, there is currently no UI to assign a default provider instance to an existing project. The composer remembers the last active provider, but that preference follows the user's recent activity rather than the project. When switching from a personal repository to a work repository, a new thread can therefore start with the personal provider instance unless the user notices and changes it manually.
This is particularly error-prone because both instances use the same provider driver and may expose the same models. The mistake may only become obvious after the thread has already started under the wrong account context.
The underlying project-scoped capability already exists on current
main:defaultModelSelection;project.meta.updateacceptsdefaultModelSelection;The missing piece appears to be only the UI that updates the existing project field.
Proposed solution
Add a Default provider and model control to the existing Project settings dialog for each environment-local project entry.
The control would:
ModelSelectionthrough the existingprojectEnvironment.update/project.meta.updatepath;nulland falls back to the existing selection behavior;New drafts and threads would then inherit the selected provider instance through the behavior that already exists.
Why this matters
Remembering the last selected provider solves the repeated-switching case, but not project isolation. A project default prevents accidental use of a personal account for work or a work account for personal projects.
This matters for cost attribution, subscription limits, organizational boundaries, and simply avoiding the loss of a thread that was started under the wrong provider context.
Smallest useful scope
A focused web change only:
No new server RPC, contract, database migration, or provider adapter behavior should be required. Desktop receives the change through the shared web UI. Mobile already consumes the persisted project default when creating a task; a separate mobile editing surface could remain out of scope unless maintainers want it included.
Related work
Alternatives considered
Risks or tradeoffs
Contribution
All reactions