Skip to content

[BUG] API call fails on all versions later than 3.36 #10843

@kapil-bh

Description

@kapil-bh

Problem (one or two sentences)

Extension version: 3.41.3
Provider: vscode-lm
Model: copilot/claude-sonnet-4.5

Invalid request: Tool call part must be followed by a User message with a LanguageModelToolResultPart with a matching callId.

Any idea?

Context (who is affected and when)

We have been using Roocode with VS code for quite sometime, with the updated version of Roo code extension in VS code we shave started seeing this error when we make a API call to JIRA or confluence. Reverting back the version to 3.36 works.

Reproduction steps

  1. Install Roo code extension (any version later than 3.36) in VS code.
  2. configure MCP server for JIRA and confluence.
  3. Make a API call using any of these servers

Expected result

Any extension version later than 3.36 should also work with MCP servers

Actual result

API call error

Variations tried (optional)

No response

App Version

3.41.3

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions