Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

Merge pull request #9098 from janhq/feat/cli-gateway-overrides

Loc Nguyene0c62f863a1b
diff --cc docs/src/pages/docs/agent/cli.mdx
index 5655b3614,cad4ecb6a..f87e28c5d
--- a/docs/src/pages/docs/agent/cli.mdx
+++ b/docs/src/pages/docs/agent/cli.mdx
@@@ -773,8 -765,11 +780,12 @@@ doing anything. Re-run the installer wi
| --- | --- |
| `JAN_API_KEY` | API key for the target provider |
| `<PROVIDER>_API_KEY` | Per-provider key, e.g. `ANTHROPIC_API_KEY` |
+ | `JAN_BASE_URL` | Base URL for the provider named with `--provider`. Ignored without it |
+ | `JAN_CUSTOM_HEADERS` | Extra request headers for that provider, one `Name: Value` per line. Ignored without `--provider` |
+ | `TOKAMAK_BASE_URL` | Tokamak deployment for sign-in and account calls; `/v1` is appended to a bare origin |
+ | `TOKAMAK_WEB_URL` | Tokamak web app for the sign-in and API-keys pages, when it can't be derived from the API host |
| `JAN_INSTALL_DIR` | Install directory used by the install script |
+| `JAN_EXPERIMENTAL_ACP` | `1` allows the experimental `jan acp` server; `0` blocks it even if `[experimental] acp` is set |
## Using it in CI