Skip to content

Conversation

@aeschli
Copy link
Contributor

@aeschli aeschli commented Nov 20, 2025

  • instructions list: use XML and tool variables
  • add infer attribute
  • list agents to be used as subagents

Copilot AI review requested due to automatic review settings November 20, 2025 17:30
@aeschli aeschli enabled auto-merge (squash) November 20, 2025 17:30
@aeschli aeschli self-assigned this Nov 20, 2025
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Nov 20, 2025
Copy link
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 refactors the instructions list generation to use XML format instead of Markdown tables, and properly references tools using tool variables with the #tool: prefix. The changes improve the structure of generated instruction lists and enable proper tool reference tracking.

Key changes:

  • Replaces Markdown table format with XML structure (<instructions>, <instruction>, <skills>, <skill> tags)
  • Updates tool references to use the #tool: prefix format with qualified tool names
  • Adds tool reference tracking via ChatRequestToolReferenceEntry with offset ranges for each tool mention

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.ts Converts instructions list from Markdown tables to XML format, adds tool reference tracking, and injects ILanguageModelToolsService to get qualified tool names
src/vs/workbench/contrib/chat/browser/languageModelToolsService.ts Refactors getQualifiedToolName to look up tool names from the referenceable tools map instead of accepting a toolSet parameter

Tyriar
Tyriar previously approved these changes Nov 20, 2025
bpasero
bpasero previously approved these changes Nov 22, 2025
@aeschli aeschli changed the title instructions list: use XML and tool variables list agents to be used as subagents Nov 22, 2025
dmitrivMS
dmitrivMS previously approved these changes Nov 22, 2025
@aeschli aeschli closed this Nov 23, 2025
auto-merge was automatically disabled November 23, 2025 18:18

Pull request was closed

@aeschli aeschli reopened this Nov 23, 2025
bpasero
bpasero previously approved these changes Nov 24, 2025
@bpasero
Copy link
Member

bpasero commented Nov 24, 2025

Red CI

@aeschli aeschli merged commit 21ca4eb into main Nov 24, 2025
28 checks passed
@aeschli aeschli deleted the aeschli/xenial-felidae-488 branch November 24, 2025 12:09
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.

6 participants