Skip to content

[BUG] Magistral [THINK]...[/THINK] tags not recognized as reasoning #8522

@andyceo

Description

@andyceo

Problem (one or two sentences)

Using local Magistral 1.2 with Ollama, Roo Code do not handle Magistral specific reasoning tags [THINK]...[/THINK]:

Image

Context (who is affected and when)

Roo Code 3.28.15

Reproduction steps

Just use local Magistral with Roo Code

Expected result

Reasoning must handle properly

Actual result

Reasoning not handle properly

Variations tried (optional)

No response

App Version

3.28.15

API Provider (optional)

Ollama

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions