Skip to content

GPT-5-Codex (Preview) produces invalid links to project files in its outputs #272350

@dsent

Description

@dsent
  • Copilot Chat Extension Version: 0.32.3
  • VS Code Version: 1.105.1
  • OS Version: Windows 11 24H2
  • Feature (e.g. agent/edit/ask mode): Agent, Ask
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): GPT-5-Codex

Steps to Reproduce:

  1. Delegate any task to Copilot Agent, or ask a question in Ask mode that requires to reference a local project file.
  2. The links come out like this:
    Change the CLI to accept either:
    
    node [validate-config.js](http://_vscodecontentref_/0) <config> [...flags] (current behavior), or
    node [validate-config.js](http://_vscodecontentref_/1) --template <template.mustache> --schema-template [...flags] (template-schema pass only).
    Image

Other models don't demonstrate this behavior.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchat

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions