Skip to main content

Overview

The openai-compatible driver extracts reasoning returned in the assistant message’s reasoning_content field. This also works for an application model that has no bundled catalog record because reading response content does not require a typed reasoning selection. Set OPENAI_COMPATIBLE_API_URL, OPENAI_COMPATIBLE_API_KEY, and OPENAI_COMPATIBLE_MODEL for your backend. The live example otherwise uses DeepSeek through its OpenAI-compatible endpoint.

Example