Skip to content

[BUG] Prompt enhancement broken on qwen3-coder models #12102

@MinimackStudios

Description

@MinimackStudios

Problem (one or two sentences)

When clicking the enhance prompt button, it fails with a toast appearing reading "Failed to enhance prompt"

Context (who is affected and when)

Happens when the model is set to qwen3-coder-plus (and qwen3-coder-flash), with the API provider set to Qwen Code

Reproduction steps

  1. Windows 10, v3.52.0, no relevant settings. IMPORTANT NOTE: I cloned the repo then built the VSIX and installed it so that I could have the fix for Qwen always responding with the 400 error code, since the latest release does not contain that fix.
  2. Enter Settings > Providers > Set the API Provider to Qwen Code > Set the Model to either qwen3-coder-plus or flash > Type a prompt > Click Enhance button
  3. After clicking enhance, it showed a toast saying "Failed to enhance prompt"

Expected result

The prompt gets enhanced and more detailed

Actual result

A toast appears saying "Failed to enhance prompt"

Variations tried (optional)

No response

App Version

v3.52.0

API Provider (optional)

Not Applicable / Other

Model Used (optional)

qwen3-coder-plus

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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions