-
Notifications
You must be signed in to change notification settings - Fork 36.4k
list agents to be used as subagents #278624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
ChatRequestToolReferenceEntrywith 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 |
Uh oh!
There was an error while loading. Please reload this page.