Skip to content

fix: Fix model selection lost during task creation#1437

Open
charlesvien wants to merge 3 commits intographite-base/1437from
04-01-model-selector-broken
Open

fix: Fix model selection lost during task creation#1437
charlesvien wants to merge 3 commits intographite-base/1437from
04-01-model-selector-broken

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented Apr 2, 2026

Problem

Model selected in the new task input was silently dropped. The session always started with the default model because selection was applied as a post start config patch that raced with the first prompt.

Closes #1380

Closes #1340

Changes

  1. Pass selected model through the start session schema all the way to the SDK
  2. Fetch model config in parallel with SDK initialization for new sessions
  3. Remove post start config patching that raced with first prompt delivery
  4. Limit useSessionConnection to reconnects only, new sessions handled by task creation saga

How did you test this?

Manually

Copy link
Copy Markdown
Member Author

charlesvien commented Apr 2, 2026

@charlesvien charlesvien changed the title Fix model selection lost during task creation fix: Fix model selection lost during task creation Apr 2, 2026
@charlesvien charlesvien marked this pull request as ready for review April 2, 2026 04:12
@charlesvien charlesvien changed the base branch from 04-01-persist_new_task_draft_across_navigation to graphite-base/1437 April 2, 2026 05:12
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.

2 participants