sessions: open customizations editor to agents page from mode picker#308252
Merged
joshspicer merged 1 commit intomainfrom Apr 7, 2026
Merged
sessions: open customizations editor to agents page from mode picker#308252joshspicer merged 1 commit intomainfrom
joshspicer merged 1 commit intomainfrom
Conversation
When clicking 'Configure Custom Agents...' in the chat input mode picker dropdown, pass AICustomizationManagementSection.Agents to the OpenEditor command so the customizations editor opens directly to the agents page instead of the previously viewed page. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Sessions window mode picker so that selecting “Configure Custom Agents…” opens the AI Customizations editor directly on the Agents section, rather than restoring whatever section was last viewed. This aligns the Sessions entry point with the expected “agent-focused” workflow.
Changes:
- Pass
AICustomizationManagementSection.AgentstoAICustomizationManagementCommands.OpenEditorfrom the mode picker action. - Add the corresponding import for
AICustomizationManagementSection.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/copilotChatSessions/browser/modePicker.ts | Ensures “Configure Custom Agents…” opens the customizations editor on the Agents section. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 1
Contributor
roblourens
approved these changes
Apr 7, 2026
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.
Summary
When clicking "Configure Custom Agents..." in the sessions mode picker dropdown, the customizations editor now opens directly to the Agents page instead of whichever page was previously viewed.
Change
In
modePicker.ts, theAICustomizationManagementCommands.OpenEditorcommand is now called withAICustomizationManagementSection.Agentsas the section argument. TheOpenEditorcommand already supports this parameter — it callspane.selectSectionById(section)when provided — so this is a one-line change plus the import.Testing