修两个线上问题:
- 上下文断:原来每条消息只传当前一句,无历史 → "该患者"无指代。
现按「群+人」维护会话记忆(内存,30min TTL,留最近 12 条),整段历史喂助手。
- 没给链接:AssistantService.chat 加 systemExtra,企微渠道注入指令 ——
纯文字/Markdown(不画 render_artifact)+ 用 plan id 拼 {webBase}/plans/<id> 给 Markdown 链接
+ 多轮指代提示。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cli | Loading commit data... | |
| common | Loading commit data... | |
| config | Loading commit data... | |
| modules | Loading commit data... | |
| openapi | Loading commit data... | |
| prisma | Loading commit data... | |
| queues | Loading commit data... | |
| redis | Loading commit data... | |
| types | Loading commit data... | |
| app.module.ts | Loading commit data... | |
| health.controller.ts | Loading commit data... | |
| main.ts | Loading commit data... |