Skip to content

[BUG] Claude Sonnet 4.6 via VS LM API: Provider Error/Model Response Incomplete #12255

@bosconian-dynamics

Description

@bosconian-dynamics

Problem (one or two sentences)

Sending any message to Claude Sonnet 4.6 via the VS LM API and GitHub Copilot extensions invariably fails with a "Provider Error" error. The automatic retry fails with both a "Model Response Incomplete" and "Provider Error" error.

Claude Sonnet 4.6 is fully functional via the GitHub Copilot extensions themselves.

Context (who is affected and when)

When any message is sent to Claude Sonnet 4.6 by way of the VS LM API.

Reproduction steps

  1. Configure a claude-code/claude-sonnet-4.6 profile with the VS Code LM API provider
  2. Select it in any mode and send a message

Expected result

A response from the model.

Actual result

"Provider Error"/"Model Response Incomplete" errors.

Variations tried (optional)

  • Inside of an Ubuntu 24.04 devcontainer
  • Directly on Windows 11 Pro
  • With proxies and AdGuard Home disabled
  • Fresh installations of VSCode and RooCode stable on a separate machine

App Version

3.53.0 (44f6bba)

API Provider (optional)

VS Code Language Model API

Model Used (optional)

Claude Sonnet 4.6 (claude-code/claude-sonnet-4.6)

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Error after initial task message sent:

// Please share this file with Roo Code Support (support@roocode.com) to diagnose the issue faster
// Just make sure you're OK sharing the contents of the conversation below.

{
  "error": {
    "timestamp": "2026-05-01T23:19:25.653Z",
    "version": "3.53.0",
    "provider": "vscode-lm",
    "model": "claude-code/claude-sonnet-4.6",
    "details": "Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output."
  },
  "history": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "<user_message>\nThis is a simple test message. Please respond with \"Hello\"\n</user_message>"
        },
        {
          "type": "text",
          "text": "<environment_details>\n# VSCode Visible Files\n.devcontainer\\docker-compose.yml,X:\\Microsoft VS Code\\extension-output-ms-dotnettools.vscode-dotnet-runtime-#1-.NET Install Tool\n\n# VSCode Open Tabs\n.devcontainer/devcontainer.json,.devcontainer/docker-compose.yml\n\n# Current Time\nCurrent time in ISO 8601 UTC format: 2026-05-01T23:12:18.610Z\nUser time zone: America/Denver, UTC-6:00\n\n# Git Status\n## main...origin/main [behind 9]\n M .devcontainer/devcontainer-lock.json\n M .devcontainer/devcontainer.json\n?? .devcontainer/Dockerfile\n?? .devcontainer/docker-compose.yml\n\n# Current Cost\n$0.00\n\n# Current Mode\n<slug>ask</slug>\n<name>❓ Ask</name>\n<model>claude-sonnet-4.6</model>\nYou have not created a todo list yet. Create one with `update_todo_list` if your task is complicated or involves multiple steps.\n</environment_details>"
        }
      ],
      "ts": 1777677138942
    }
  ]
}

Errors in sequence after RooCode automatically attempts a retry:

// Please share this file with Roo Code Support (support@roocode.com) to diagnose the issue faster
// Just make sure you're OK sharing the contents of the conversation below.

{
  "error": {
    "timestamp": "2026-05-01T23:20:45.895Z",
    "version": "3.53.0",
    "provider": "vscode-lm",
    "model": "claude-code/claude-sonnet-4.6",
    "details": "The language model returned an empty response without any text or tool calls. This can happen due to API issues, rate limiting, or model-specific problems. The model has been automatically prompted to retry."
  },
  "history": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "<user_message>\nThis is a simple test message. Please respond with \"Hello\"\n</user_message>"
        },
        {
          "type": "text",
          "text": "<environment_details>\n# VSCode Visible Files\n.devcontainer\\docker-compose.yml,X:\\Microsoft VS Code\\extension-output-ms-dotnettools.vscode-dotnet-runtime-#1-.NET Install Tool\n\n# VSCode Open Tabs\n.devcontainer/devcontainer.json,.devcontainer/docker-compose.yml\n\n# Current Time\nCurrent time in ISO 8601 UTC format: 2026-05-01T23:12:18.610Z\nUser time zone: America/Denver, UTC-6:00\n\n# Git Status\n## main...origin/main [behind 9]\n M .devcontainer/devcontainer-lock.json\n M .devcontainer/devcontainer.json\n?? .devcontainer/Dockerfile\n?? .devcontainer/docker-compose.yml\n\n# Current Cost\n$0.00\n\n# Current Mode\n<slug>ask</slug>\n<name>❓ Ask</name>\n<model>claude-sonnet-4.6</model>\nYou have not created a todo list yet. Create one with `update_todo_list` if your task is complicated or involves multiple steps.\n</environment_details>"
        }
      ],
      "ts": 1777677138942
    }
  ]
}
// Please share this file with Roo Code Support (support@roocode.com) to diagnose the issue faster
// Just make sure you're OK sharing the contents of the conversation below.

{
  "error": {
    "timestamp": "2026-05-01T23:22:42.572Z",
    "version": "3.53.0",
    "provider": "vscode-lm",
    "model": "claude-code/claude-sonnet-4.6",
    "details": "Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output."
  },
  "history": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "<user_message>\nThis is a simple test message. Please respond with \"Hello\"\n</user_message>"
        },
        {
          "type": "text",
          "text": "<environment_details>\n# VSCode Visible Files\n.devcontainer\\docker-compose.yml,X:\\Microsoft VS Code\\extension-output-ms-dotnettools.vscode-dotnet-runtime-#1-.NET Install Tool\n\n# VSCode Open Tabs\n.devcontainer/devcontainer.json,.devcontainer/docker-compose.yml\n\n# Current Time\nCurrent time in ISO 8601 UTC format: 2026-05-01T23:12:18.610Z\nUser time zone: America/Denver, UTC-6:00\n\n# Git Status\n## main...origin/main [behind 9]\n M .devcontainer/devcontainer-lock.json\n M .devcontainer/devcontainer.json\n?? .devcontainer/Dockerfile\n?? .devcontainer/docker-compose.yml\n\n# Current Cost\n$0.00\n\n# Current Mode\n<slug>ask</slug>\n<name>❓ Ask</name>\n<model>claude-sonnet-4.6</model>\nYou have not created a todo list yet. Create one with `update_todo_list` if your task is complicated or involves multiple steps.\n</environment_details>"
        }
      ],
      "ts": 1777677138942
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    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