mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-19 04:41:03 +00:00
Compare commits
2 Commits
fix/plugin
...
docs/20440
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e1439fa6e | ||
|
|
a68158a197 |
@@ -419,6 +419,13 @@ OMNIROUTE_USE_TURBOPACK=1
|
||||
# Default: unset. Used by: bin/omniroute.mjs
|
||||
# OMNIROUTE_CLI_SKIP_DEFAULT_DATA_ENV=1
|
||||
|
||||
# Set to 1 (or true) to let `omniroute fcc-claude` send the API key to a non-loopback
|
||||
# plain http:// base URL, e.g. a LAN server at http://192.168.x.y:20128. Unset, the
|
||||
# command refuses because the key would travel in plaintext. Loopback HTTP and HTTPS
|
||||
# never need it. Set it in the shell or the data-dir .env: a .env in the working
|
||||
# directory cannot set it. Used by: bin/cli/commands/fcc-claude.mjs
|
||||
# OMNIROUTE_ALLOW_INSECURE_REMOTE=1
|
||||
|
||||
# Set to 1 to print per-request timing diagnostics from the CLI quota commands
|
||||
# to stderr (`[omniroute] GET <path> completed in Nms`).
|
||||
# Used by: bin/cli/commands/quota.mjs
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
- **docs(cli):** document `OMNIROUTE_ALLOW_INSECURE_REMOTE`, the opt-in that lets `omniroute fcc-claude` send the API key to a trusted plain-HTTP LAN server ([#20544](https://github.com/cheaper-inference/OmniRoute/pull/20544))
|
||||
@@ -599,6 +599,7 @@ detection above).
|
||||
| `OMNIROUTE_DOCTOR_LIVENESS_URL` | _(derived)_ | `bin/cli/commands/doctor.mjs` | Liveness URL probed by `omniroute doctor`. A programmatic `livenessUrl` option takes precedence; otherwise this value is used verbatim. Unset, the CLI derives the local dashboard's `/api/health/degradation` endpoint. |
|
||||
| `OMNIROUTE_PROVIDER_CATALOG_PATH` | `src/shared/constants/providers/` | `bin/cli/provider-catalog.mjs` | Provider catalog path used by CLI provider commands. A programmatic `catalogPath` option takes precedence. Absolute paths are used as-is; relative paths resolve from the project root. Unset, the CLI uses the provider constants directory, with the legacy `providers.ts` file as fallback. |
|
||||
| `OMNIROUTE_PROVIDER_TEST_MODEL` | _(provider default)_ | `bin/cli/provider-test.mjs` | Global fallback model for CLI provider connection tests. Precedence is configured connection model, provider-specific model override, this value, then the provider's built-in test model. |
|
||||
| `OMNIROUTE_ALLOW_INSECURE_REMOTE` | _(unset)_ | `bin/cli/commands/fcc-claude.mjs` | Set to `1` or `true` to let `omniroute fcc-claude` send the API key to a non-loopback plain `http://` base URL (for example a LAN server at `http://192.168.x.y:20128`). Unset, the command refuses: the key would travel in plaintext (CWE-319). Loopback HTTP, HTTPS and requests without a key never need it. Must come from the shell or the data-dir `.env`; a `.env` in the working directory cannot set it. |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user