You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.en.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,6 +278,10 @@ In your client's settings for **Custom OpenAI Compatible**:
278
278
|`LS_DATA_DIR`| Linux: `/opt/windsurf/data`; macOS: `~/.windsurf/data`| Per-proxy LS data directory root. |
279
279
|`DASHBOARD_PASSWORD`| empty | Dashboard password. Leave empty for no password. |
280
280
|`ALLOW_PRIVATE_PROXY_HOSTS`| empty | Set to `1` to allow private/internal IPs (e.g., `192.168.x.x`, `10.x.x.x`) in proxy tests and login. Leave empty to only allow public addresses (default). |
281
+
|`DEVIN_API_KEY`| empty | Enables the Devin Sessions provider and the `/v1/devin/*` REST passthrough (`devin` / `devin-low` / `devin-medium` / `devin-high` / `devin-xhigh` / `devin-max` / `devin-fast` / `devin-deep` / `devin-acu-<N>` models). Full guide: [`docs/devin-provider.md`](docs/devin-provider.md). |
282
+
|`DEVIN_API_BASE`|`https://api.devin.ai`| Override only if you're on Devin Enterprise with a custom host. |
283
+
|`DEVIN_POLL_INTERVAL_MS` / `DEVIN_MAX_WAIT_MS`|`2000` / `600000`| Polling cadence and wall-clock cap for the synchronous Devin session wrapper. |
284
+
|`DEVIN_DEFAULT_SNAPSHOT_ID` / `DEVIN_DEFAULT_PLAYBOOK_ID`| empty | Defaults applied to every Devin session; per-request overrides via `metadata.devin_snapshot_id` / `devin_playbook_id`. |
281
285
|`CASCADE_REUSE_STRICT`|`0`| Set to `1` for strict conversation reuse mode (waits for same fingerprint). |
282
286
|`CASCADE_REUSE_STRICT_RETRY_MS`|`60000`| Retry delay in ms for strict reuse mode. |
283
287
|`CASCADE_REUSE_HASH_SYSTEM`|`0`| Set to `1` to include system messages in conversation reuse hash. |
Wraps Cognition's official Devin REST API ([docs](https://docs.devin.ai/api-reference/overview)) behind OpenAI / Anthropic endpoints. Completely independent of the Windsurf account pool — uses your own Devin API key and bills against your Devin org ACU budget:
-`devin-max` — `max_acu_limit=100`, multi-PR / large refactors
356
+
-`devin-acu-<N>` — dynamic alias where `N` is `1..10000` (e.g. `devin-acu-30`)
357
+
358
+
**Devin Cloud REST passthrough (`/v1/devin/*`):** the full sessions / attachments / knowledge / playbooks / secrets CRUD set is reverse-proxied to `api.devin.ai` using the server-side `DEVIN_API_KEY` — clients neither need nor are allowed to send a Devin token themselves.
359
+
360
+
Supports automatic fingerprint-based session reuse (the same OpenAI history continues the same Devin session), an `X-Devin-Session-Id` header to pin sessions manually, and `metadata.devin_*` fields (max_acu / snapshot_id / playbook_id / knowledge_ids / secret_ids / tags / structured_output_schema, etc.). Full guide: [`docs/devin-provider.md`](docs/devin-provider.md).
361
+
362
+
</details>
363
+
339
364
> **Free-account entitlements** typically include `gemini-2.5-flash`, `glm-4.7` / `glm-5` / `5.1`, `kimi-k2` / `k2.5` / `k2-6`, `qwen-3` and similar open-source models; Claude family, GPT family, and Opus / thinking variants require Pro. Each account's exact list shows up in the dashboard.
340
365
>
341
366
> **Tool-calling reliability (measured v2.0.82+):** Claude family is the most reliable (their training covered prompt-level tool protocols); GLM-4.7 / Kimi-K2.5 work for most cases via NLU fallback + optional retry-with-correction; GLM-5.1 is unreliable on the cascade backend (it often returns empty responses, no narration to recover from); GPT family is also limited because the cascade upstream doesn't carry `tools[]` schema. For Claude Code / Cline / Codex doing local tool calls, prefer `claude-haiku-4.5` or `claude-sonnet-4.6`.
0 commit comments