Skip to content

Claude Agent fails with Opus 5.5 (claude-opus-5-5) due to outdated Agent SDK (0.3.258) while extension is on Claude Code 2.1.283 #338638

Closed

Description

Type: Bug

Summary

Claude Opus 5.5 appears in the Claude Agent model picker, but requests fail because the Claude SDK/runtime used by VS Code Agent Host does not recognize the model identifier.

The Claude Code extension is updated to a newer version, but the Agent Host continues to download and use SDK version 0.3.258.


Environment

  • VS Code: 1.139.1
  • OS: Windows 11 (10.0.26200)
  • GitHub Copilot Extension: 1.0.85
  • GitHub Copilot SDK: 1.0.15
  • Claude Code Extension: 2.1.283
  • Agent SDK Cache Location:
%APPDATA%\Code\agent-host\sdk-cache\claude

Cached SDK versions:

0.3.198
0.3.220
0.3.239
0.3.258

Steps to Reproduce

  1. Open a workspace.
  2. Start a new Claude Agent session with claude agentic harness.
  3. Select Claude Opus 5.5 from the model picker.
  4. Submit any prompt (e.g. Hello).
  5. Observe that the request fails.

Additional Verification

  1. Close VS Code.
  2. Delete the Claude Agent SDK cache:
%APPDATA%\Code\agent-host\sdk-cache\claude
  1. Restart VS Code.
  2. Start a new Claude Agent session.
  3. Verify that VS Code recreates the cache and downloads:
%APPDATA%\Code\agent-host\sdk-cache\claude\0.3.258
  1. Select Claude Opus 5.5 again.
  2. Observe the same failure.

Actual Result

The request fails.

Agent Host logs show:

[Claude SDK stderr] [claude-code:unrecognized_model]
{"model":"claude-opus-5-5","query_source":"sdk"}

An earlier error message also reported:

Claude Code 2.1.258 does not support this model;
version 2.1.280 or newer is required.

Expected Result

Claude Opus 5.5 should:

  • Execute successfully, or
  • Trigger download/use of a compatible SDK/runtime version, or
  • Be hidden/disabled in the model picker if the installed SDK does not support it.

Investigation Performed

Extension Version

Verified Claude extension version:

anthropic.claude-code-2.1.283-win32-x64

SDK Cache Verification

Inspected Agent Host cache:

%APPDATA%\Code\agent-host\sdk-cache\claude

Available versions:

0.3.198
0.3.220
0.3.239
0.3.258

Cache Reset Test

  • Deleted the entire claude SDK cache.
  • Restarted VS Code.
  • Agent Host automatically re-downloaded:
0.3.258
  • Failure remained unchanged.

Functional Comparison

Scenario Result
Local Agent ✅ Works with Opus 5.5
GitHub Copilot Agent ✅ Works with Opus 5.5

|

VS Code version: Code 1.139.1 (04c0d99, 2026-09-25T03:40:57Z)
OS version: Windows_NT x64 10.0.26200
Modes:

Activity

  1. mmontagnana commented on Sep 29, 2026

    @mmontagnana

    Each version of VS Code is bundled with a given version of the Claude agent-sdk. VS Code 1.139 is bundled with agent-sdk 0.3.258, corresponding to Claude Code 2.1.258 (which doesn't have Opus 5.5 in its models table).

    VS Code 1.140 will be bundled with at least agent-sdk 0.3.281 (as is today's Insiders edition). I don't know whether it will be able to use Sonnet 5.5, though, as it's available in agent-sdk 0.3.284 models table.

  2. dmitrivMS commented on Oct 5, 2026

    @dmitrivMS
    Collaborator

    Appears to be fixed by #337626

  3. Aniket-Mathkari commented on Oct 5, 2026

    @Aniket-Mathkari
    Author

    Yup, with the update the issue is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions