From 66a20ded2ebfd54fba5b325ffec9f801e0d9aca7 Mon Sep 17 00:00:00 2001 From: Liu-Vince Date: Fri, 8 May 2026 22:01:03 +0800 Subject: [PATCH] docs(config): document additional environment variables ## Summary - Document DEEPSEEK_STREAM_OPEN_TIMEOUT_SECS. - Document DEEPSEEK_FORCE_HTTP1. - Document DEEPSEEK_HOME and DEEPSEEK_AUTOMATIONS_DIR. ## Verification - GitHub CI passed: lint, version drift, ubuntu/macos/windows tests, npm wrapper smoke, GitGuardian. --- docs/CONFIGURATION.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 2323f5c8..6f08aaa0 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -158,6 +158,7 @@ fallbacks after saved config and keyring credentials: - `DEEPSEEK_PROVIDER` (`deepseek|nvidia-nim|openai|openrouter|novita|fireworks|sglang|vllm|ollama`) - `DEEPSEEK_MODEL` or `DEEPSEEK_DEFAULT_TEXT_MODEL` - `DEEPSEEK_STREAM_IDLE_TIMEOUT_SECS` (stream idle timeout in seconds; default `300`, clamped to `1..=3600`) +- `DEEPSEEK_STREAM_OPEN_TIMEOUT_SECS` (connection setup + response-header wait in seconds; default `45`, clamped to `5..=300`; distinct from the per-chunk idle timeout) - `NVIDIA_API_KEY` or `NVIDIA_NIM_API_KEY` (preferred when provider is `nvidia-nim`; falls back to `DEEPSEEK_API_KEY`) - `NVIDIA_NIM_BASE_URL`, `NIM_BASE_URL`, or `NVIDIA_BASE_URL` - `NVIDIA_NIM_MODEL` @@ -193,6 +194,9 @@ fallbacks after saved config and keyring credentials: - `DEEPSEEK_MAX_SUBAGENTS` (clamped to `1..=20`) - `DEEPSEEK_TASKS_DIR` (runtime task queue/artifact storage, default `~/.deepseek/tasks`) - `DEEPSEEK_ALLOW_INSECURE_HTTP` (`1`/`true` allows non-local `http://` base URLs; default is reject) +- `DEEPSEEK_FORCE_HTTP1` (`1|true|yes|on` pins the HTTP client to HTTP/1.1, disabling HTTP/2; useful on Windows or behind proxies that mishandle long-lived H2 streams) +- `DEEPSEEK_HOME` (override the base data directory; defaults to `~/.deepseek`) +- `DEEPSEEK_AUTOMATIONS_DIR` (override the automations storage directory; defaults to `~/.deepseek/automations`) - `DEEPSEEK_CAPACITY_ENABLED` - `DEEPSEEK_CAPACITY_LOW_RISK_MAX` - `DEEPSEEK_CAPACITY_MEDIUM_RISK_MAX`