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

Closed
opened 2026-02-16 18:09:41 -05:00 by yindo · 2 comments
Owner

Originally created by @emimontanari on GitHub (Feb 2, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @emimontanari on GitHub (Feb 2, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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 <img width="1503" height="989" alt="Image" src="https://github.com/user-attachments/assets/cfcb71f0-98f8-49c4-a949-620047233516" /> ### Operating System macOs ### Terminal Warp
yindo added the bug label 2026-02-16 18:09:41 -05:00
yindo closed this issue 2026-02-16 18:09:41 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11751: GitHub Copilot API returns 404 "Not Found" after upgrading to v1.1.40 - reports the same 404 error with Claude models via Copilot after v1.1.40 upgrade
  • #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com) - related 404 issue with Claude/Anthropic models and Copilot endpoints

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #11751: GitHub Copilot API returns 404 "Not Found" after upgrading to v1.1.40 - reports the same 404 error with Claude models via Copilot after v1.1.40 upgrade - #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com) - related 404 issue with Claude/Anthropic models and Copilot endpoints Feel free to ignore if none of these address your specific case.
Author
Owner

@OpeOginni commented on GitHub (Feb 2, 2026):

@emimontanari Based on other issues it seems you need to upgrade your Opencode version, as this issue has been fixed.

Run the opencode upgrade command or if you are using brew follow this set in another issue.

brew uninstall opencode
brew install anomalyco/tap/opencode

@OpeOginni commented on GitHub (Feb 2, 2026): @emimontanari Based on other issues it seems you need to upgrade your Opencode version, as this issue has been fixed. Run the `opencode upgrade` command or if you are using brew follow this set in another issue. `brew uninstall opencode` `brew install anomalyco/tap/opencode`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8325