diff --git a/运营中枢/scripts/karuo_ai_gateway/README.md b/运营中枢/scripts/karuo_ai_gateway/README.md index e27dfc0b..5bbdd1f7 100644 --- a/运营中枢/scripts/karuo_ai_gateway/README.md +++ b/运营中枢/scripts/karuo_ai_gateway/README.md @@ -23,6 +23,19 @@ uvicorn main:app --host 0.0.0.0 --port 8000 - `KARUO_GATEWAY_CONFIG`:网关配置路径(默认 `config/gateway.yaml`)。 - `KARUO_GATEWAY_SALT`:部门 Key 的 salt(用于 sha256 校验;不写入仓库)。 +### API Key 填写文件地址(本地) + +统一在这个文件填写(已预置 V0/Cursor 项): + +- `运营中枢/scripts/karuo_ai_gateway/.env.api_keys.local` + +填完后执行: + +```bash +cd /Users/karuo/Documents/个人/卡若AI/运营中枢/scripts/karuo_ai_gateway +cp .env.api_keys.local .env +``` + ### 接口排队与自动切换(稳定性) 网关会按顺序尝试接口队列: diff --git a/运营中枢/参考资料/卡若AI_API接口排队与故障切换规则.md b/运营中枢/参考资料/卡若AI_API接口排队与故障切换规则.md index 0c66b5e6..7c160c21 100644 --- a/运营中枢/参考资料/卡若AI_API接口排队与故障切换规则.md +++ b/运营中枢/参考资料/卡若AI_API接口排队与故障切换规则.md @@ -5,6 +5,7 @@ - 网关代码入口:`运营中枢/scripts/karuo_ai_gateway/main.py` - 网关说明文档:`运营中枢/scripts/karuo_ai_gateway/README.md` - 网关配置样例:`运营中枢/scripts/karuo_ai_gateway/config/gateway.example.yaml` +- API Key 本地填写文件:`运营中枢/scripts/karuo_ai_gateway/.env.api_keys.local` 当前支持的接口变量(不含明文密钥): @@ -47,6 +48,10 @@ export SMTP_USER="zhiqun@qq.com" export SMTP_PASS="你的QQ邮箱授权码" ``` +如需直接本地填写,优先编辑: + +`/Users/karuo/Documents/个人/卡若AI/运营中枢/scripts/karuo_ai_gateway/.env.api_keys.local` + --- ## 4. 执行逻辑(网关内置) diff --git a/运营中枢/工作台/gitea_push_log.md b/运营中枢/工作台/gitea_push_log.md index efaf2ea9..b09ab288 100644 --- a/运营中枢/工作台/gitea_push_log.md +++ b/运营中枢/工作台/gitea_push_log.md @@ -144,3 +144,4 @@ | 2026-02-25 12:09:29 | 🔄 卡若AI 同步 2026-02-25 12:09 | 更新:运营中枢、运营中枢工作台 | 排除 >20MB: 13 个 | | 2026-02-25 12:11:44 | 🔄 卡若AI 同步 2026-02-25 12:11 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | | 2026-02-25 12:13:11 | 🔄 卡若AI 同步 2026-02-25 12:13 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | +| 2026-02-25 12:27:51 | 🔄 卡若AI 同步 2026-02-25 12:27 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | diff --git a/运营中枢/工作台/代码管理.md b/运营中枢/工作台/代码管理.md index 6624c43f..dd5ecac5 100644 --- a/运营中枢/工作台/代码管理.md +++ b/运营中枢/工作台/代码管理.md @@ -147,3 +147,4 @@ | 2026-02-25 12:09:29 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-25 12:09 | 更新:运营中枢、运营中枢工作台 | 排除 >20MB: 13 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) | | 2026-02-25 12:11:44 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-25 12:11 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) | | 2026-02-25 12:13:11 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-25 12:13 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) | +| 2026-02-25 12:27:51 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-25 12:27 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 13 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) |