Skip to content

Diff editing not working with Qwen3 235B Instruct 2507 (self-hosted by vLLM)Β #7247

@SandboChang

Description

@SandboChang

App Version

3.25.20

API Provider

OpenAI Compatible

Model Used

Qwen3 235B Instruct 2507

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

  1. Setup
    The Roocode is running on a VSCode client
Version: 1.103.1 (Universal)
Commit: 360a4e4fd251bfce169a4ddf857c7d25d1ad40da
Date: 2025-08-12T16:25:40.542Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Darwin arm64 24.6.0

And the hosting vLLM is on a ubuntu 24.04, version 0.10.1.
The exact LLM is
QuantTrio/Qwen3-235B-A22B-Instruct-2507-AWQ

  1. Action
    With an existing piece of code, ask Roocode to perform a modification so it will try to do editing of the code.

  2. Upon generating the new code, when Roocode tries to edit by diff, it will fail and said Edit Unsuccessful. Often with this message:

I need to escape the "=======" line in the SEARCH section. Let me try again with the proper escaping:

Then eventually it may try to do a complete rewrite, and this can work to replace the code.

πŸ’₯ Outcome Summary

Expected:
When Roocode tried to update a small portion of the code, it can use the diff editing tool to change the target section efficiently.

But:
Roocode cannot do the diff edit most of the time (at least for the last couple of tests), and ended up having to rewrite the whole code.

For reference, using Kilocode I don't have the same problem (version:4.82.1)

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions