Commit Graph

4 Commits

Author SHA1 Message Date
renjianbo
355cb66050 fix: add 🤔 emoji to "thinking" reply in 灵犀/人参果/人参果1号/甜甜 handlers
These four handlers were missing the 🤔 prefix in their "正在思考,请稍候..."
reply, while 橙子/苏瑶/主飞书 handlers already had it. Unified for consistency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-08 00:28:17 +08:00
renjianbo
66d52ad020 feat: 人参果/人参果1号 飞书图片解析支持
在飞书 WS handler 中新增图片消息识别与下载:
- _get_image_key: 检测飞书 image 类型消息,提取 image_key
- download_image_from_feishu: 调用飞书 API 下载图片二进制
- 图片保存到 agent_workspaces/{agent_id}/images/ 下
- Agent 自动调用 image_ocr + image_vision 分析后回复用户

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-07 08:02:14 +08:00
renjianbo
fa13ffe479 fix: 修复人参果agent主动消息循环+创建人参果1号
- renshenguo_ws_handler: 注入7条行为约束规则,禁止agent在无用户输入时主动发消息
- renshenguo2_ws_handler: 新增人参果1号 WS handler(行为约束版)
- renshenguo2_app_service: 新增人参果1号飞书消息服务
- config.py/main.py: 注册RENSHENGUO2配置和长连接启动

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-06 21:13:44 +08:00
renjianbo
eabf90c496 feat: add AI学习助手 agent (KG+RAG ideal) and renshenguo feishu bot
- Add AI学习助手 agent creation script with all 39 tools, 3-layer KG+RAG memory
- Add renshenguo (人参果) feishu bot integration (app_service + ws_handler)
- Register renshenguo WS client in main.py startup
- Add RENSHENGUO_APP_ID / RENSHENGUO_APP_SECRET / RENSHENGUO_AGENT_ID config
- Reorganize docs from root into docs/ subdirectories
- Move startup scripts to scripts/startup/
- Various backend optimizations and tool improvements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-06 01:37:13 +08:00