Skip to content

Commit fffc48e

Browse files
authored
Merge pull request #1618 from silentoplayz/docs/mistral-raw-thinking-parts
docs: correct Mistral compatibility note and explain raw thinking parts in reasoning replies
2 parents 0227b28 + a6d1ccf commit fffc48e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • docs/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible

‎docs/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible/index.mdx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Each connection has a **toggle switch** that lets you enable or disable it witho
142142
</TabItem>
143143
<TabItem value="mistral" label="Mistral">
144144

145-
**Mistral AI** is fully OpenAI-compatible with working `/models` auto-detection.
145+
**Mistral AI** offers an OpenAI-compatible API with working `/models` auto-detection. Reasoning replies are the exception, covered below.
146146

147147
| Setting | Value |
148148
|---|---|
@@ -154,6 +154,10 @@ Each connection has a **toggle switch** that lets you enable or disable it witho
154154
Mistral no longer publishes `-latest` alias names such as `mistral-large-latest`. Use the dated model IDs from the [Mistral models overview](https://docs.mistral.ai/getting-started/models/models_overview/).
155155
:::
156156

157+
:::caution Reasoning replies show raw `thinking` parts
158+
With reasoning on, Mistral returns the reply `content` as a list of parts instead of text ([Mistral reasoning docs](https://docs.mistral.ai/inference/conversations/reasoning)). Open WebUI turns any `content` that is not text into text, so the chat shows the raw list, starting with `[{'type': 'thinking'`, instead of a thinking block. One option is to turn reasoning off for the model: under **Advanced Params**, switch **Reasoning Effort** to **Custom** and enter `none`. Mistral then returns plain text, without the reasoning.
159+
:::
160+
157161
</TabItem>
158162
<TabItem value="groq" label="Groq">
159163

0 commit comments

Comments
 (0)