From 6f302069abb14287dfd7aff0cca17250f5b73146 Mon Sep 17 00:00:00 2001 From: shaw Date: Thu, 18 Sep 2025 15:05:22 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0codex=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=A4=BA=E4=BE=8B[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6edf237..0add9242 100644 --- a/README.md +++ b/README.md @@ -429,16 +429,24 @@ preferred_auth_method = "apikey" name = "crs" base_url = "http://127.0.0.1:3000/openai" # 根据实际填写你服务器的ip地址或者域名 wire_api = "responses" +requires_openai_auth = true +env_key = "CRS_OAI_KEY" ``` 在 `~/.codex/auth.json` 文件中配置API密钥: ```json { - "OPENAI_API_KEY": "你的后台创建的API密钥" + "OPENAI_API_KEY": null } ``` +环境变量设置: + +```bash +export CRS_OAI_KEY="后台创建的API密钥" +``` + ### 5. 第三方工具API接入 本服务支持多种API端点格式,方便接入不同的第三方工具(如Cherry Studio等)。