Add experiment for enabling custom subagents#286247
Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds experiment configuration and telemetry tracking for the custom subagents feature. The experiment enables automatic rollout of the chat.subagentTool.customAgents setting, while the telemetry helps track how the subagent tool is being used with custom agents.
- Added telemetry event to track subagent invocations with hashed agent names for privacy
- Configured automatic experiment mode for the custom agents feature
- Implemented SHA1 hashing utility for agent names to protect user privacy in telemetry
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.ts |
Added telemetry tracking with ChatSubagentInvokedEvent, imported required services (ITelemetryService, StringSHA1), and implemented hashAgentName helper function |
src/vs/workbench/contrib/chat/browser/chat.contribution.ts |
Added experiment configuration with mode: 'auto' to enable automatic rollout of the custom subagents feature |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #286248