We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ac98e commit 6de1c6eCopy full SHA for 6de1c6e
src/api/providers/native-ollama.ts
@@ -181,7 +181,8 @@ export class NativeOllamaHandler extends BaseProvider implements SingleCompletio
181
...convertToOllamaMessages(messages),
182
]
183
184
- // Use square bracket matcher for Magistral models, XML matcher for others
+ // Magistral models use square bracket syntax [THINK]...[/THINK] for reasoning blocks
185
+ // instead of the XML-style <think>...</think> tags used by other models
186
const matcher = useMagistralFormat
187
? new SquareBracketMatcher(
188
"THINK",
0 commit comments