docs: record test email/agents and WhatsApp callback status

This commit is contained in:
wangliang
2026-10-23 12:27:56 +08:00
parent 51c62715a5
commit 888612924f
+34
View File
@@ -347,3 +347,37 @@ RAG_PG_URL="postgres://crmnew:${PW}@127.0.0.1:5440/bridge" node scripts/kb-versi
- `search_kb` 在没有 reranker 时会忽略 `limit`(上游改为先取 8 条给 reranker)→ 现在无 reranker 时尊重 `limit`;
- parent/child 可能命中同一篇 → 按 `question+answer` 去重后再重排;
- 同时把 `createLLM + createReranker` 接进 HTTP 工具入口,让 LibreDesk 直接调 `search_kb` 也能享受重排。
## 11. 2026-10-23 后续配置
### Live chat / bridge AI
- bridge webhook `Bridge AI`:`message.created` → `http://bridge:4100/libredesk/webhook`(启用)
- LibreDesk 规则 1(AI Assistant):关闭
- bridge API key:已生成并写入 `.env`
- bridge AI e2e:最低起订量问题回复正常,`bridge_ai_metrics` 已有数据
- `IDENTITY_CORS_ORIGIN`:已从 `*` 改为 `https://wangliang-crm.dev.gaia888.com`
### 人工团队
- `Wholesale Support`(id=1,Round robin)
- 成员:
- System(id=1)
- agent1@yehwang.com(id=11)
- agent2@yehwang.com(id=12)
- 两个 agent 的临时密码写在测试服 `.agent-credentials`(600,已在 `.gitignore` 忽略)
- 登录验证:两个 agent 均 200
### Email
- SMTP 已使用本地 163 凭据配置
- Email Inbox `Email 163`(id=3,IMAP 走 `imap-proxy:1993`)
- Automation #3:email → `assign_team=Wholesale Support`
- ⚠️ 本机测试服和本地共用同一个 163 邮箱,两个 LibreDesk 会同时轮询,可能重复/抢占邮件;长期测试建议用独立测试邮箱
### WhatsApp
- `WA_INBOX_ID=2`
- `PUBLIC_BASE_URL=https://wangliang-crm.dev.gaia888.com`
- 规则 #2:WhatsApp → `assign_team=Wholesale Support`
- **Meta callback 尚未改到测试域名**:当前 Meta app 的回调仍可能指向本机 Cloudflare Quick Tunnel;一个 Meta App 只能有一个 callback,切到测试域名后本机 WhatsApp 会停止接收。要同时保留两边,需要独立 Meta App/测试号。