Skip to content

Revert: Use copilot/copilot-utility-small for terminal-tool steering messages#317812

Merged
roblourens merged 1 commit into
mainfrom
roblou/agents/revert-pr-317389-draft
May 21, 2026
Merged

Revert: Use copilot/copilot-utility-small for terminal-tool steering messages#317812
roblourens merged 1 commit into
mainfrom
roblou/agents/revert-pr-317389-draft

Conversation

@roblourens
Copy link
Copy Markdown
Member

@roblourens roblourens commented May 21, 2026

Revert #317389

This reverts PR #317389.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 21, 2026 17:38
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 reverts prior work that routed terminal-tool steering messages (background completion, input-needed, terminal-exited) through the copilot/copilot-utility-small alias, restoring behavior where these steering requests inherit the conversation request’s model.

Changes:

  • Remove ILanguageModelsService usage and the utility-small model resolution path from RunInTerminalTool.
  • Send terminal steering sendRequest calls directly with the captured conversation send options (model/mode/tools).
  • Simplify RunInTerminalTool unit tests by removing the async flush helper and converting affected tests back to synchronous.
Show a summary per file
File Description
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts Removes utility-small alias resolution and reverts steering-message model selection to inherit the conversation request’s model.
src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/runInTerminalTool.test.ts Drops the ILanguageModelsService stub and the microtask-flush helper; updates steering-notification tests to assert synchronously.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@roblourens roblourens changed the title terminal: Revert steering utility model Revert: Use copilot/copilot-utility-small for terminal-tool steering messages May 21, 2026
@roblourens roblourens marked this pull request as ready for review May 21, 2026 17:56
@roblourens roblourens enabled auto-merge (squash) May 21, 2026 17:56
@roblourens roblourens merged commit bd01ba3 into main May 21, 2026
26 checks passed
@roblourens roblourens deleted the roblou/agents/revert-pr-317389-draft branch May 21, 2026 18:01
@vs-code-engineering vs-code-engineering Bot added this to the 1.122.0 milestone May 21, 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