add ChatSkill.disableModelInvocation#314174
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new disableModelInvocation flag to vscode.ChatSkill in the chatPromptFiles proposed API and wires it through the main-thread/ext-host DTOs so extensions can observe whether a skill should be excluded from automatic model invocation.
Changes:
- Extend
ChatSkillproposed API shape withdisableModelInvocation. - Plumb
disableModelInvocationthroughISkillDtoand the mainThread/extHost conversion layers. - Update one Copilot extension test stub to include the new property.
Show a summary per file
| File | Description |
|---|---|
| src/vscode-dts/vscode.proposed.chatPromptFiles.d.ts | Adds ChatSkill.disableModelInvocation to the proposed API surface. |
| src/vs/workbench/api/common/extHostChatAgents2.ts | Maps disableModelInvocation from DTOs into vscode.ChatSkill objects. |
| src/vs/workbench/api/common/extHost.protocol.ts | Extends ISkillDto with disableModelInvocation. |
| src/vs/workbench/api/browser/mainThreadChatAgents2.ts | Includes disableModelInvocation when serializing skills to DTOs. |
| extensions/copilot/src/extension/chatSessions/vscode-node/test/claudeCustomizationProvider.spec.ts | Updates a ChatSkill test stub to include the new required field. |
Copilot's findings
- Files reviewed: 4/5 changed files
- Comments generated: 0
Copilot stopped work on behalf of
aeschli due to an error
May 4, 2026 20:31
TylerLeonhardt
approved these changes
May 4, 2026
Contributor
Author
|
@copilot now lets create ComputeAutomaticInstructions in the extension as outlined in the plan (step ). Do not yet remove the old call sites. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.