Skip to content

Claude models fail with Not Found when used in Copilot agent / Build tasks #11781

@emimontanari

Description

@emimontanari

Description

Claude models fail with Not Found when used in Copilot agent / Build tasks

Description

When using GitHub Copilot with Claude Opus 4.5 selected as the model, agent-style tasks (such as Build / AGENTS.md workflows) fail consistently with a Not Found: Not Found error.

This occurs even though the same model appears selectable in the Copilot UI and works correctly in interactive Copilot Chat contexts.


Environment

  • GitHub Copilot: Enabled
  • Selected model: Claude Opus 4.5
  • Context: Agent / Build task (non-interactive execution)
  • Example task: Generating or updating AGENTS.md
  • Editor: VS Code (Copilot Agents / Build flow)

Expected Behavior

The selected Claude model should either:

  • Execute the agent task successfully, or
  • Clearly indicate that Claude models are not supported for agent / build execution

Actual Behavior

The task fails immediately with the following error:

Plugins

No response

OpenCode version

1.1.40

Steps to reproduce

Steps to Reproduce

  1. Open a repository with GitHub Copilot enabled
  2. Select Claude Opus 4.5 as the Copilot model
  3. Run a Copilot agent-style task (for example, a Build task that generates AGENTS.md)
  4. Observe the task execution result

Screenshot and/or share link

Image

Operating System

macOs

Terminal

Warp

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions