Skip to content

[BUG] Mistral: duplex option is required #11996

@MSaltersFF

Description

@MSaltersFF

Problem (one or two sentences)

Using Mistral condestral-latest stopped working, with error message "API Request Failed".

Context (who is affected and when)

Affects all use of codestral - core API broken

Reproduction steps

VS Code 1.113 on Mac OSX Tahoe 26.4
Roo Code 3.51.1
Mistral codestral-latest
Ask Roo Code to "review code" (or any other prompt)

Expected result

Prompt sent to Mistral and handled

Actual result

Mistral completion error: Unexpected HTTP client error: TypeError: RequestInit: duplex option is required when sending a body.

Variations tried (optional)

Mode switched.

App Version

3.51.1

API Provider (optional)

Mistral AI

Model Used (optional)

codestral-latest

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Mistral completion error: Unexpected HTTP client error: TypeError: RequestInit: duplex option is required when sending a body.

Google suggests this is a common issue with some Node.js versions: https://github.com/nodejs/node/issues/46221

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