Output with Qwen has been showing improperly formatted code blocks. It appears to be missing a newline. I noticed it earlier this week after using Qwen as my primary model.
- Select Qwen3-235B.
- Perform a query that would output code. i.e., "How do I set the default branch name in git?" "Give me an example of Template types in JSDOC."
- Observe code blocks which are improperly formatted and possibly missing the first line.
- Switch to Qwen3-Coder to see properly formatted block.
From https://kagi.com/assistant/9e10a38a-a245-4ff1-ac31-369e541dd1f3.
Given the following incorrect response:
bashgit branch --show-current
My guess is that the output is literally
```bashgit branch --show-current
```
I would expect a newline between bash and git. The proper result should probably literally be
```bash
git branch --show-current
```
Presenting as:
git branch --show-current
From https://kagi.com/assistant/898759fa-bf04-4f20-a017-2ac0ef8c1f70.
Given this incorrect response:
return [value];
}
My guess is that the literal output is:
```typescriptfunction wrapInArray<T = string>(value: T): T[] {
return [value];
}
```
Adding a newline between typescript and function:
```typescript
function wrapInArray<T = string>(value: T): T[] {
return [value];
}
```
Presenting as:
function wrapInArray<T = string>(value: T): T[] {
return [value];
}