From 4516384f0e4d03cae37ef25ebc5dd699d1feab53 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 24 Apr 2026 14:31:56 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=90=88=E5=B9=B6=20.env.example=20?= =?UTF-8?q?=E5=88=B0=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 10 ---------- README.md | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 43fc7e7..0000000 --- a/.env.example +++ /dev/null @@ -1,10 +0,0 @@ -# Provider -AI_GATEWAY_BASE_URL=https://ai-gateway.furtherverse.com -AI_GATEWAY_API_KEY= - -# MCP -EXA_API_KEY= -CONTEXT7_API_KEY= - -# Windows -OPENCODE_GIT_BASH_PATH=%USERPROFILE%\scoop\apps\git\current\bin\bash.exe diff --git a/README.md b/README.md index f54a29d..83cfb94 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,15 @@ git clone ~/.config/opencode ``` -3. 参考 `.env.example` 将以下环境变量配置到系统中 +3. 将以下环境变量配置到系统中 | 变量 | 必填 | 说明 | |------|------|------| - | `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点 | + | `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点,例如 `https://ai-gateway.furtherverse.com` | | `AI_GATEWAY_API_KEY` | 是 | 模型服务密钥 | | `EXA_API_KEY` | 否 | [Exa](https://exa.ai) 搜索,提供联网能力,不配则使用默认额度 | | `CONTEXT7_API_KEY` | 否 | [Context7](https://context7.com) 文档查询,提供库文档检索,不配则使用默认额度 | - | `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常 | + | `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常,例如 `%USERPROFILE%\scoop\apps\git\current\bin\bash.exe` | 4. 选择 oh-my-openagent 配置