Skip to content

make sure input switches when editing prev requests#320024

Merged
justschen merged 1 commit into
mainfrom
justin/salazzle
Jun 5, 2026
Merged

make sure input switches when editing prev requests#320024
justschen merged 1 commit into
mainfrom
justin/salazzle

Conversation

@justschen
Copy link
Copy Markdown
Collaborator

fix issue where editing a prev request would not change the model

Copilot AI review requested due to automatic review settings June 5, 2026 00:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to fix a chat UX issue where editing a previous request does not correctly update the language model selection, by syncing the edited request’s model back to the main chat input.

Changes:

  • When finishing an inline (non-input) edit session, copy the edited input’s current language model identifier to the main ChatInputPart.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts Sync the main input’s selected model from the inline edit input when exiting edit mode.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts
@justschen justschen marked this pull request as ready for review June 5, 2026 00:09
@justschen justschen enabled auto-merge (squash) June 5, 2026 00:12
@justschen justschen merged commit 1100b7d into main Jun 5, 2026
26 checks passed
@justschen justschen deleted the justin/salazzle branch June 5, 2026 00:21
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 5, 2026
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.

3 participants