Skip to content

[BUG] <thought> tag is not properly rendered #12093

@NikiKeyz

Description

@NikiKeyz

Problem (one or two sentences)

Gemma 4 31B outputs its thinking process with tags which are not properly rendered in Roo Code UI.

Context (who is affected and when)

Gemma 4 31B outputs its thinking process with tags which are not properly rendered in Roo Code UI.

Image

Reproduction steps

Gemma 4 31B model through OpenAI compatible https://generativelanguage.googleapis.com/v1beta/openai/
Thinking turned on.
Any prompt to reproduce.

Expected result

Thoughts of model rendered as usual

Actual result

in model's answer

Variations tried (optional)

No response

App Version

3.52.0

API Provider (optional)

OpenAI Compatible

Model Used (optional)

Gemma 4 31B

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