Skip to content

refactor: streamline provideChatSessionContent method and enhance options handling#310001

Merged
DonJayamanne merged 3 commits intomainfrom
don/upper-boa
Apr 14, 2026
Merged

refactor: streamline provideChatSessionContent method and enhance options handling#310001
DonJayamanne merged 3 commits intomainfrom
don/upper-boa

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 14, 2026 21:51
@DonJayamanne DonJayamanne self-assigned this Apr 14, 2026
Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Refactors provideChatSessionContent to inline “existing session” handling and to build/lock option selections when returning a vscode.ChatSession.

Changes:

  • Inlines logic previously in provideChatSessionContentForExistingSession into provideChatSessionContent.
  • Builds options from selected input groups (locked) for new and existing sessions.
  • Adjusts response-history “all responses empty” detection logic (currently altered).
Show a summary per file
File Description
extensions/copilot/src/extension/chatSessions/vscode-node/copilotCLIChatSessions.ts Refactors chat session content construction and option handling; modifies “empty response” check logic.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 5

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DonJayamanne DonJayamanne marked this pull request as ready for review April 14, 2026 22:24
@DonJayamanne DonJayamanne enabled auto-merge (squash) April 14, 2026 22:24
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: f4bd7b6c Current: 21583390

Changed (5)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
editor/inlineCompletions/other/JumpToHint/Light
Before After
before after
agentSessionsViewer/WithDiffChanges/Dark
Before After
before after
agentSessionsViewer/WithDiffChanges/Light
Before After
before after
agentSessionsViewer/ApprovalRowLongLabel/Light
Before After
before after

@DonJayamanne DonJayamanne merged commit c39989d into main Apr 14, 2026
26 checks passed
@DonJayamanne DonJayamanne deleted the don/upper-boa branch April 14, 2026 23:05
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 15, 2026
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.

3 participants