🔄 卡若AI 同步 2026-02-25 12:30 | 更新:运营中枢、运营中枢参考资料、运营中枢工作台 | 排除 >20MB: 13 个
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
### 接口排队与自动切换(稳定性)
|
||||
|
||||
网关会按顺序尝试接口队列:
|
||||
|
||||
@@ -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. 执行逻辑(网关内置)
|
||||
|
||||
@@ -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 个 |
|
||||
|
||||
@@ -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) |
|
||||
|
||||
Reference in New Issue
Block a user