Skip to content

u/_madar_

In this archive from Nov 2025 to Nov 2026

3
posts
45
comments
0
media
286
score

I've tried to chase this down many times without luck. I see it with different harnesses (codex, opencode, pi). have done packet captures and found there's no duplicate user message, but qwen will happily show all the duplicate user prompts if you ask it to. Feels like a chat template bug but haven't been able to identify one.

3 points

With a single rtx pro 6000 your best bet will be qwen 3.8 flash next, the qad version from LIL. I recommend you try this model out on your Mac though, I like it much better than deepseek 4.1 flash and its smaller. I have 4x rtx pro 6000 and currently running q38fn on two of them, 200+ tps and 11k+ prefill, hasn’t failed on any of my projects yet. Single card would be a little slower and less kv cache but doable. I have the ngram offload in ram, ssd offload would be another hit.

1 points

I ran ds 0731 as a daily driver until qwen 3.8 flash next came out, and have been running that since. I do like having vision, otherwise quality wise I feel they are very close. Once ds v stabilizes a bit I’ll give that a try, and probably decide at that point - I think there’s no wrong answer and it feels good to be able to say that.

5 points

Also, if you've had a session open for a while, try asking Qwen this question:

Without using tools, audit the conversation state you currently see. How many genuine human user requests have occurred in this session? Quote the first 15 words of each. Do not count AGENTS.md/project instructions, tool results, subagent reports, or your own prior reasoning as user requests.

It showed duplicated requests, despite there not actually being any.

3 points

We found that Qwen3.8 Flash Next’s stock chat template renders tool results as <|im_start|>user blocks containing <tool_response>...</tool_response>. In longer agentic sessions, Qwen would sometimes misclassify those synthetic user-role tool messages as actual human turns and say things like “the user asked again,” even though packet-level tracing proved the real user prompt appeared only once. We copied the official chat_template.jinja and changed only the tool-result role from <|im_start|>user to <|im_start|>tool, leaving the <tool_response> wrapper and everything else unchanged. So far tool calling still works normally, and in long/tool-heavy tests Qwen correctly distinguishes real human prompts from tool and subagent output instead of inventing repeated user messages.

Sol helped me diagnose this. It honestly feels like a bug in the template, and after changing it all these 'user keeps repeating themselves' hallucinations disappeared.

3 points

You'd want to catalog the tools it has available and the system prompts it uses - you'd basically need to reverse engineer claude code. I suspect that's breaking some eula. There was also an accidental leak of the claude code source, some time ago, which I'm sure is available given how the Internet works.

There're also ways to run Claude Code using a local model using environment variables, I'd imagine comparing how Opus acts in claude code to how Qwen acts might give you an idea of the gap you're dealing with.

All this being said, I've never used Claude or Opus, so take it all with a grain of salt. But that's where I'd start.

5 points

Don’t trust any model completely, they can hallucinate and delete things they shouldn’t. For simple question / response stuff it’s hard to imagine maliciousness but when tool usage is enabled it isn’t hard to think of ways something could be embedded.

0 points

The patch I mentioned was to fix vLLM not passing through kwargs through all paths, from looking at the vllm repo it looks like it might be fixed now. I spent a bunch of time working on being able to toggle thinking on/off from within Codex, and I think that was part of this effort. These should be most of what you care about though.

           "Cmd": [
               "Qwen/Qwen3.6-27B-FP8",
               "--host",
               "0.0.0.0",
               "--port",
               "8000",
               "--served-model-name",
               "qwen3.6-thinking",
               "--max-model-len",
               "262144",
               "--gpu-memory-utilization",
               "0.92",
               "--max-num-seqs",
               "8",
               "--max-num-batched-tokens",
               "8192",
               "--max-num-partial-prefills",
               "1",
               "--max-long-partial-prefills",
               "1",
               "--kv-cache-dtype",
               "fp8",
               "--trust-remote-code",
               "--tensor-parallel-size",
               "1",
               "--enable-auto-tool-choice",
               "--tool-call-parser",
               "qwen3_coder",
               "--reasoning-parser",
               "qwen3",
               "--language-model-only",
               "--enable-prefix-caching",
               "--generation-config",
               "vllm",
               "--chat-template",
               "/templates/qwen_fixed_chat_template.jinja",
               "--override-generation-config",
               "{\"temperature\":0.6,\"top_p\":0.95,\"top_k\":20}",
               "--default-chat-template-kwargs",
               "{\"preserve_thinking\": true}"
           ],
1 points

I have moved on to other configurations but I can check if I preserved those settings, likely not though sorry. I spent an afternoon or two with ChatGPT 5.5 xhigh telling it what problems I was seeing, and it was very good at making stress tests and fixes to get things running smoothly. I do recall it having to patch something in vllm in order to shape qwen’s thinking output into something codex cli would cope with properly.

1 points

If you think there's any chance you want to grow into a larger setup, I would advise against a 5090 and toward an R9700 (AMD 32g card). Also, I wouldn't be afraid of jumping straight to two of them and a multi gpu setup, it's been well explored now and isn't difficult to get going other than making sure your MB supports it. A single one won't be as fast, but by pairing them you'll gain speed and double the vram, and the price is right.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.