| 1 | # DeepSeek TUI environment |
| 2 | # Shell-exported variables override values in this file. |
| 3 | # Copy this file to `.env`, then uncomment only the values you want to use. |
| 4 | |
| 5 | # DeepSeek API (default provider) |
| 6 | # Get an API key from DeepSeek, then keep it local in `.env`. |
| 7 | # DEEPSEEK_API_KEY= |
| 8 | |
| 9 | # Global endpoint: |
| 10 | # DEEPSEEK_BASE_URL=https://api.deepseek.com |
| 11 | # China endpoint: |
| 12 | # DEEPSEEK_BASE_URL=https://api.deepseeki.com |
| 13 | |
| 14 | # V4 model selection. Compatibility aliases such as `deepseek-chat` normalize |
| 15 | # to the current V4 flash model in the TUI. |
| 16 | # DEEPSEEK_MODEL=deepseek-v4-pro |
| 17 | # DEEPSEEK_MODEL=deepseek-v4-flash |
| 18 | |
| 19 | # NVIDIA NIM-hosted DeepSeek V4 |
| 20 | # Use this provider when routing through NVIDIA's OpenAI-compatible endpoint. |
| 21 | # DEEPSEEK_PROVIDER=nvidia-nim |
| 22 | # NVIDIA_API_KEY= |
| 23 | # NVIDIA_NIM_API_KEY= |
| 24 | # NVIDIA_NIM_BASE_URL=https://integrate.api.nvidia.com/v1 |
| 25 | # NIM_BASE_URL=https://integrate.api.nvidia.com/v1 |
| 26 | # NVIDIA_BASE_URL=https://integrate.api.nvidia.com/v1 |
| 27 | # NVIDIA_NIM_MODEL=deepseek-ai/deepseek-v4-pro |
| 28 | |
| 29 | # Logging |
| 30 | # `DEEPSEEK_LOG_LEVEL` is forwarded by the facade; `RUST_LOG` enables the |
| 31 | # TUI's lightweight verbose logs for info/debug/trace directives. |
| 32 | # DEEPSEEK_LOG_LEVEL=debug |
| 33 | # RUST_LOG=deepseek_tui=debug |
| 34 | |
| 35 | # Agent safety defaults |
| 36 | # `on-request` asks before higher-risk work; `workspace-write` keeps writes |
| 37 | # inside the workspace unless a sandbox elevation path is explicitly used. |
| 38 | # DEEPSEEK_APPROVAL_POLICY=on-request |
| 39 | # DEEPSEEK_SANDBOX_MODE=workspace-write |
| 40 | # DEEPSEEK_ALLOW_SHELL=true |
| 41 | |
| 42 | # Optional extension paths |
| 43 | # DEEPSEEK_SKILLS_DIR=~/.deepseek/skills |
| 44 | # DEEPSEEK_MCP_CONFIG=~/.deepseek/mcp.json |
| 45 |