Skip to content

Fetch structured JSON for GH PR review URLs in prompts #316752

@westurner

Description

@westurner

Example prompts:

  • Copilot Chat Extension Version:
  • VS Code Version:
  • OS Version:
  • Feature (e.g. agent/edit/ask mode):
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet):
  • Logs:

Steps to Reproduce:

  1. Enter a prompt with a PR review URL like:

    apply changes to solve for all of the comments in this review: Allow optionally specifying shellType in linux terminal profiles, and autodetect flatpak-spawn and host-spawn #316714 (review)

    > apply changes to solve for all of the comments in this review: https://github.com/microsoft/vscode/pull/316714#pullrequestreview-4302584789
    
  2. It ad-hoc tries to figure out how to parse the PR review, which wastes tokens

Could there be a [agent thing] to parse pasted PR review URLs and fetch structured JSON?

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions