Skip to content

Reasoning ​

Models that think before they answer (Qwen 3 and the like) write their reasoning between markers the engine recognises. Since 1.5.0 it never reaches content:

  • in an answer, it is message.reasoning_content;
  • in a stream, it arrives as delta.reasoning_content deltas, before the content deltas.

The OpenAI specification has no reasoning field in Chat Completions. reasoning_content is the one the clients read: OpenCode, Cline, Aider and LibreChat read it, and so does Continue in VS Code (its cn command line shows none). Send it back on an assistant message as reasoning_content if your client keeps it; reasoning is accepted too.

reasoning_effort: "none" asks a model whose template supports it not to think at all, which is faster when the question does not need it. Other values are given to the template.

Your operator can serve a model with --reasoning drop: the reasoning is then removed from every answer. The tokens it took still count in usage.

Diffuse Enterprise is commercial software. Diffuse Open is AGPL-3.0.