qihu-bot
|
9cf4378bf5
|
#973 微信Bot文本回复慢+间歇空修复
CI / gate (push) Has been cancelled
根因: 多轮对话时图片URL(含AWS token)存进历史+104技能清单注入prompt, 导致推理模型响应慢(72s)且间歇返回空content。修复: 1.IM侧精简prompt(db=None只注入静态文档) 2.空content重试(同模型最多3轮) 3.图片回复存[图片]占位符不存URL 4.历史每条截断500字符。验证: 你好15s/1+1=4s可正常回复。
|
2026-08-18 11:15:50 +08:00 |
|
qihu-bot
|
1c0dc59842
|
#972 微信Bot多轮对话修复 - sendmessage补client_id+run_id
CI / gate (push) Has been cancelled
对齐openclaw: payload补client_id(随机uuid去重)+run_id+from_user_id。缺失client_id导致多轮对话第二轮消息被iLink误判重复丢弃(第一轮成功第二轮失败)。
|
2026-08-15 19:42:15 +08:00 |
|
qihu-bot
|
51d8df6e6a
|
#971 微信Bot P2 - 接收侧媒体下载解密
CI / gate (push) Has been cancelled
实现CDN媒体下载解密(parse_aes_key支持base64(raw16B)和base64(hex32)两种编码)+extract_inbound_media(图片/语音/文件/视频)。接收循环检测媒体消息下载解密保存到/tmp。图片已保存供后续vision模型接入。
|
2026-08-15 18:40:01 +08:00 |
|
qihu-bot
|
e284d43cc7
|
#970 微信Bot P1增强 - sendtyping + 语音ASR + Session Guard
CI / gate (push) Has been cancelled
1.语音消息ASR: 提取voice_item.text(微信自带转文字) 2.sendtyping正在输入状态: getconfig拿typing_ticket缓存24h + sendtyping发送 3.Session Guard增强: 会话过期记录告警日志供前台提示重扫
|
2026-08-15 18:13:47 +08:00 |
|
qihu-bot
|
46e9f1e1e6
|
#969 微信Bot媒体内联发送 - iLink CDN AES加密上传
CI / gate (push) Has been cancelled
参考微信官方openclaw-weixin源码实现媒体内联发送链路:下载媒体→getuploadurl→AES-128-ECB加密→上传微信CDN→内联发送(type=2/5)。新增im_ilink_media.py模块。失败降级文本链接兜底。修复pg18/casdoor容器未启动问题。
|
2026-08-15 17:45:47 +08:00 |
|
QihuAI Design
|
34648e4810
|
fix(im_bot): segment long WeChat text replies + enhance send diagnostics (#878)\n\niLink returns HTTP 200 but WeChat silently drops long messages (1698-char\nHTML image link, 3011-char skill list). Add WECHAT_TEXT_MAX_LEN=1500 and\nsegment long text into multiple items. Also log payload item lengths and\nmedia URL lengths for future diagnosis.
|
2026-08-04 11:14:02 +08:00 |
|
QihuAI Design
|
29a1ce2e54
|
fix: 双Claw能力对齐 + MCP/LLM代理绕过(P0止血)
- 新增 app/core/capability_discovery.py:统一能力发现层,Web/IM 双Claw共用单一实现
(三级降级:用户安装 → 平台published → 相关性裁剪;MCP 自动挂载已启用服务)
- im_llm.py:IM Bot Claw 改用统一发现层,恢复 skills(12) + MCP(26工具) 能力,
修复 #866 部署回退导致的 agents=[]/mcp=[] 回归;mcp__ 前缀分流到 call_mcp_tool
- mcp_client.py:注入 httpx_client_factory(trust_env=False) 绕过容器 HTTP_PROXY,
修复外部 MCP(xiaobenyang.com / anysearch.com) tools/list 全部静默失败(mcp_tools 0→26)
- llm_client.py / im_bot_user.py:2026-07-31 代理劫持内部请求 + 媒体断连修复(随镜像已上线)
|
2026-08-04 10:21:19 +08:00 |
|
QihuAI Design
|
acde481bed
|
chore(align): sync Git with running container as authoritative source
One-time alignment to close drift between the running container
(qihu-aiflow / image qihuaiflow:with-deps) and this Git repository.
Container hotfixes previously persisted only via `docker commit` are now
captured in Git so Git becomes the single source of truth.
Backend:
- chat_service.py: accumulated fixes incl. EigenFlux README guidance
- chat_context.py / chat_media.py: URL/web-repo context injection
- api/url_reader.py: NEW SSRF-safe web/README reader (Issue #725)
- skills_admin.py & Skills.tsx: 14-scene capability unification
- pgvector_search.py, orchestrator.py, platform_knowledge.py,
market.py, admin/models.py: drift sync
Frontend:
- ChatPage.tsx: collapsible AI think/act block (Issue #724)
- MarketPage / EvolutionDashboard / TokenDashboard styling sync
Migrations:
- 018_normalize_marketapp_scene.sql: fixed capability allowlist
(prevents capability wipe on restart)
Alignment performed 2026-07-24 07:44:19. No deletions; secrets/venv/node_modules/
caches were not touched (tracked-source-only copy).
|
2026-07-24 07:44:19 +08:00 |
|
QihuAI Design
|
82afe14a23
|
fix(wechat/token/market): 修复微信对话时间、Token数据重置、技能市场复活、媒体内联
1. 微信Bot对话记录时间按北京时间渲染(ImBotHub/WechatHistory 的 formatTime 显式 +08:00 + Asia/Shanghai);
2. 新增 /app/api/chat/media/relay 媒体中转端点(白名单 agnES 域名, 经香港代理代取),
改写 _wechat_send_media 用平台中转地址,微信/iLink 可内联播放图片/视频;
3. 删除 014_clean_test_data.sql:该迁移每次重启重跑并 DELETE token_usage_logs/
messages/conversations/knowledge 等,导致 Token 驾驶舱数据每次重启被清空;
4. 002_init_data.sql 移除 market_apps 自动播种(原 WHERE COUNT=0 在用户删空后重启复活),
技能市场交由用户后台维护,重启不再复活。
|
2026-07-16 09:19:23 +08:00 |
|
QihuAI Design
|
da89a27bca
|
fix(wechat-bot): ①对话时间统一北京时间 ②媒体内联发送(微信直看图片/视频) ③媒体生成计入Token驾驶舱 ④清空技能市场
|
2026-07-15 23:37:30 +08:00 |
|
QihuAI Design
|
ab54d7344c
|
refactor: 移除通用频道管理(LangBot)模块,IM Bot 改为直接对接;迁移 _call_real_llm 至 im_llm
|
2026-07-14 08:21:56 +08:00 |
|
qyyfw
|
e8e5ffa1a9
|
fix: 恢复 rsync 误删的近期开发(agents/skills/mcp/knowledge/workflow/tenant/billing/storage/privacy/promotion/achievement/automation/code-exec/developer/distribution/im-bot/portal/casdoor 等后端模块 + 对应前端页面路由, 补回 main.py 挂载与 App.tsx 路由
|
2026-07-11 11:40:39 +08:00 |
|
qyyfw
|
5d7f32db0a
|
refactor: sync running-container source back to repo for reproducible docker compose build; remove dead code (orphan pipeline.py + 104 stale files from iterative dev) and drop unused app/ mirror dir
|
2026-07-11 06:29:32 +08:00 |
|
qyyfw
|
774f1648dc
|
fix(chat/wechat): messages order by created_at,id (sub-second DATETIME(3)); container+MySQL TZ->Asia/Shanghai; correct UTC timestamps to CST; rebuild WeXin Bot history
|
2026-07-10 10:50:06 +08:00 |
|
qyyfw
|
7b7871a14d
|
feat(im): mirror WeChat bot chats into AI chat as WeXin Bot conversation; add conversations.source; migrate history; remove redundant history page
|
2026-07-10 10:09:49 +08:00 |
|
WorkBuddy
|
2eeaf1d293
|
fix: 个人微信发送对齐iLink规范(base_info/client_id/ret检查); 会话过期检测+重扫UI; 仅发送成功才写历史
|
2026-07-10 08:00:25 +08:00 |
|
WorkBuddy
|
62f3986e04
|
feat: 个人微信-对话历史持久化+平台内查阅页; 修复第二轮不回复(过滤/字段/重试); 多轮上下文
|
2026-07-10 07:01:39 +08:00 |
|
WorkBuddy
|
950f86325a
|
fix: 个人微信二维码改为后端生成真正可扫的 PNG(前端 <img> 原渲染 HTML URL 失效)
|
2026-07-09 21:29:50 +08:00 |
|
WorkBuddy
|
75a708a14d
|
feat: 个人微信改为前台每用户独立绑定(按 user_id 隔离),后台仅保留全局 Bot
|
2026-07-09 20:53:25 +08:00 |
|