Skip to content

Compatibility ​

The clients that were run against an installed deployment, what worked, and how to configure each. Every line comes from a run: the client, its version, one task, and the result read from what the client did, not from what it said.

Run on 2026-10-15 against the 1.5.0 packages installed in a Debian 12 container, serving Qwen3-4B (GGUF, Q4_K_M) on llama.cpp, CPU only.

ClientVersionResultWhat was checked
OpenAI Python SDK3.31.0works22 checks: completions, streaming, tools, structured outputs, reasoning, Responses API, errors, documents. One skipped: embeddings, no embedding model was served
OpenAI Node SDK7.34.0worksstreamed text, streamed tool calls, structured outputs, Responses API streamed and with a function
Continue for VS Code2.0.0 request shapesworksthe Chat, Edit and Agent requests of that version, replayed
Continue cn (agent)1.5.47tools work, task failedit read the file and wrote it through the API's tools, but the model replaced the file instead of adding a line
OpenCode (default agent)1.19.0worksit read notes.txt and appended the line, through the API's tools
Cline (native tools)3.0.71failed with this modelthe 4B model kept reasoning without calling a tool; nothing in the API refused it
Aider0.86.2worksit read notes.txt and appended the line
LibreChat via diffuse-chatv0.8.7worksdoctor all green, a message from a signed-in person answered, and the audit row names that person as end_user

Each coding agent was given one task in a fresh directory, read notes.txt and append one line, and the verdict was read from the file. With a small model, whether an agent finishes depends on the model as much as on the API: the two that did not finish here show the API's tools working (Continue) or an unfinished reasoning (Cline), not a refusal. Coding agents are meant for larger models than this one.

On a CPU, coding agents need longer limits. Their first request carries the whole system prompt and tool list, about 11,000 tokens for OpenCode, and a CPU takes minutes to read it. Raise the client's own timeout (timeout under options in OpenCode's provider), the api's --request-timeout-s and each node's --generation-timeout-s together. While a prompt is read, a stream carries : keep-alive lines every 15 seconds, so a client waiting for the first token does not give up.

Configuring each client ​

Every client needs three things: the base URL https://<coordinator>:8443/v1, an API key from apikey create, and the deployment's CA certificate (/etc/diffuse/ca.crt, world-readable on the coordinator).

OpenAI SDKs ​

bash
export SSL_CERT_FILE=/path/to/ca.crt          # Python
export NODE_EXTRA_CA_CERTS=/path/to/ca.crt    # Node
export OPENAI_BASE_URL=https://coordinator.internal:8443/v1 OPENAI_API_KEY=dfe_sk_...

OpenCode ​

opencode.json in the project, or ~/.config/opencode/opencode.json:

json
{
  "$schema": "https://opencode.ai/config.json",
  "model": "diffuse/qwen3-14b",
  "provider": {
    "diffuse": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Diffuse",
      "options": { "baseURL": "https://coordinator.internal:8443/v1", "apiKey": "{env:DIFFUSE_API_KEY}", "timeout": 3600000 },
      "models": { "qwen3-14b": { "name": "qwen3-14b", "tool_call": true, "reasoning": true } }
    }
  }
}

Start it with NODE_EXTRA_CA_CERTS=/path/to/ca.crt. No proxy or translator is needed in front of the API.

Continue (VS Code and the cn command line) ​

~/.continue/config.yaml:

yaml
name: diffuse
version: 0.0.1
schema: v1
models:
  - name: qwen3-14b
    provider: openai
    model: qwen3-14b
    apiBase: https://coordinator.internal:8443/v1/
    apiKey: dfe_sk_...
    roles: [chat, edit, apply]
    capabilities: [tool_use]
    requestOptions:
      caBundlePath: /path/to/ca.crt

capabilities: [tool_use] matters: without it, Continue in VS Code describes the tools in the prompt instead of using the API's tools. Keep the trailing slash of apiBase. Do not name the model gpt-5... or o1...: Continue then calls the Responses API with OpenAI's own options.

Cline ​

bash
cline auth -p openai-compatible -k dfe_sk_... -m qwen3-14b -b https://coordinator.internal:8443/v1
NODE_EXTRA_CA_CERTS=/path/to/ca.crt cline -P openai-compatible -m qwen3-14b

Cline uses the API's tools only (its XML format is gone).

Aider ​

bash
SSL_CERT_FILE=/path/to/ca.crt aider --model openai/qwen3-14b \
  --openai-api-base https://coordinator.internal:8443/v1 --openai-api-key dfe_sk_...

LibreChat ​

Through diffuse-chat, which configures it. LibreChat shows a model's reasoning folded above the answer.

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