Commit Graph
100 Commits
Author SHA1 Message Date
liuwei 0f0acc1729 feat(message_summary): add group overview stats section 2026-04-13 09:18:44 +08:00
liuwei 0e3eda8865 tune(ai_auto_response): shorten llm replies 2026-04-13 09:05:41 +08:00
liuwei 4e7a8e6798 fix(ai_auto_response): clean think noise from parsed fields 2026-04-10 17:06:13 +08:00
liuwei 52392edcc0 fix(ai_auto_response): sanitize dify wrapped think output 2026-04-10 16:59:18 +08:00
liuwei f3354d39a8 fix(ai_auto_response): keep complete social short replies 2026-04-10 16:54:12 +08:00
liuwei 762b6d5252 删除测试代码 2026-04-10 16:53:13 +08:00
liuwei 0c90c5d74f fix(ai_auto_response): avoid forced split of single short replies 2026-04-10 16:51:11 +08:00
liuwei 5e80287530 切换到dify,还是不要直连,dify更方便 2026-04-10 16:41:14 +08:00
liuwei cc59447be8 切换到十号的grok 2026-04-10 16:12:55 +08:00
liuwei 29a624eb5c chore(config): update ai auto response llm endpoint 2026-04-10 13:47:14 +08:00
liuwei f96e891ad9 tune(ai_auto_response): loosen short reply limits for persona flavor 2026-04-10 13:45:50 +08:00
liuwei a1aa05e3b9 feat(ai_auto_response): add admin-controlled persona switching 2026-04-10 13:15:35 +08:00
liuwei c280fa8dab rebalance ai_auto_response participation tuning 2026-04-10 10:44:10 +08:00
liuwei 3f9ae6442d tighten ai_auto_response participation and spam guard 2026-04-10 09:56:34 +08:00
liuwei d2856bee2e soften ai_auto_response group domain steering 2026-04-10 09:45:39 +08:00
liuwei ef283c1818 tune ai_auto_response short reply and followup gating 2026-04-10 09:39:33 +08:00
liuwei a67b8c296d update message summary default time range 2026-04-10 09:27:08 +08:00
liuwei 42b2014f12 unify plugin llm clients on shared utils layer 2026-04-10 09:13:42 +08:00
liuwei a99bbcca39 add ai_auto_response llm client compatibility shim 2026-04-10 09:06:53 +08:00
liuwei c0620e6cee shrink ai_auto_response prompt pipeline 2026-04-10 09:04:22 +08:00
liuwei f580c69736 refactor ai_auto_response plugin architecture 2026-04-09 17:46:30 +08:00
liuwei cc65378544 feat(ai_auto_response): handle image follow-up more safely 2026-04-09 10:06:39 +08:00
liuwei 3900d38952 fix(douyu): compact long audience trends adaptively 2026-04-09 09:52:19 +08:00
liuwei 5dfc17f811 fix(douyu): aggregate audience trend by minute 2026-04-09 09:50:21 +08:00
liuwei 4e2dea86af fix(dashboard): avoid blocking admin web requests 2026-04-09 09:20:47 +08:00
liuwei cf675db2da chore: remove local douyu debug artifacts from repo 2026-04-08 17:05:37 +08:00
liuwei 867ed0a2ec feat(douyu): add audience trend chart to daily report 2026-04-08 17:03:43 +08:00
liuwei 8909b8c386 fix: avoid clipping douyu report shadows 2026-04-08 14:55:29 +08:00
liuwei 7e93ca730f feat: refine douyu active user display 2026-04-08 14:44:44 +08:00
liuwei b56822b196 feat: polish douyu active user cards 2026-04-08 14:36:05 +08:00
liuwei 41c8ce403c chore: adjust douyu daily report schedule 2026-04-08 14:29:03 +08:00
liuwei ea3a088c63 feat: enrich douyu daily summary cards 2026-04-08 14:26:46 +08:00
liuwei b73594975d fix: restore douyu core active users in daily reports 2026-04-08 14:23:52 +08:00
liuwei 772f45cb2f feat: separate global llm settings from monitor page 2026-04-08 14:16:37 +08:00
liuwei 3d671c0da0 feat: improve llm settings ui and douyu daily fallback 2026-04-08 14:09:21 +08:00
liuwei 1ab0f61e2f fix: resolve dify init and douyu session errors 2026-04-08 13:57:57 +08:00
liuwei 480ebee8c7 feat: add idempotent douyu daily report command 2026-04-08 13:51:51 +08:00
liuwei 28a4911c13 chore: remove douyu local llm secrets 2026-04-08 13:45:27 +08:00
liuwei aecb62cb4d refactor: centralize llm backend configuration 2026-04-08 13:43:41 +08:00
liuwei df1939d60b chore(douyu): enable llm daily reports 2026-04-08 13:21:15 +08:00
liuwei 66f4a3e604 feat(douyu): add daily danmu report pipeline 2026-04-08 13:17:29 +08:00
liuwei 6401ec02de Refine member context profiling detail 2026-04-08 10:27:14 +08:00
liuwei fa98c9e6a5 tune xiaoniu config 2026-04-08 09:43:55 +08:00
liuwei f4715f104a adjust xiaoniu runtime config 2026-04-08 09:38:21 +08:00
liuwei 67eec32f7f unify xiaoniu topic selection and reply planning 2026-04-08 09:23:10 +08:00
liuwei 8ead2c43bf stabilize xiaoniu anti-spam and silent defenses 2026-04-08 08:53:47 +08:00
liuwei 1671bea3a3 fix: fallback quoted image lookup by md5 2026-04-07 17:58:34 +08:00
liuwei d99f1a07d1 fix: only use downloaded media paths for quoted images 2026-04-07 17:50:08 +08:00
liuwei f9417a201f fix: prefer local quoted media paths in dashboard 2026-04-07 17:46:55 +08:00
liuwei 238e478f52 fix: reuse referenced message media in dashboard quotes 2026-04-07 17:44:15 +08:00
liuwei e823c1049f fix: proxy quoted media in dashboard messages 2026-04-07 17:40:10 +08:00
liuwei 867f00435c feat: improve quoted message rendering in dashboard 2026-04-07 17:35:03 +08:00
liuwei 3d56b3895a harden xiaoniu defenses and directed cooldowns 2026-04-07 17:26:13 +08:00
liuwei 02bde14d52 improve xiaoniu reply chunk splitting 2026-04-07 16:48:00 +08:00
liuwei 9545664318 relax xiaoniu reply planner gating 2026-04-07 16:31:29 +08:00
liuwei c8a7958e2b move xiaoniu runtime logs to debug 2026-04-07 16:25:34 +08:00
liuwei 96432039cc add retry for xiaoniu api requests 2026-04-07 16:17:58 +08:00
liuwei 2b6deff4ba filter invalid xiaoniu model echoes 2026-04-07 16:06:52 +08:00
liuwei 271954cfbb adjust xiaoniu runtime config 2026-04-07 16:04:33 +08:00
liuwei 58faa4322c fix xiaoniu mention gating and vector memory config 2026-04-07 16:00:31 +08:00
liuwei fabcb92f3f use richer member memory in xiaoniu replies 2026-04-07 15:47:32 +08:00
liuwei 0ac08c45c0 tune xiaoniu address style by group 2026-04-07 15:38:52 +08:00
liuwei a29b625bc6 refine xiaoniu natural name mentions 2026-04-07 15:37:01 +08:00
liuwei 19d2938870 improve xiaoniu recipient cues and name-prefixed replies 2026-04-07 15:32:38 +08:00
liuwei 9e95b805ec require directed questions for xiaoniu replies 2026-04-07 15:21:45 +08:00
liuwei 5ca9a8d1d9 tune xiaoniu low-frequency social interjections 2026-04-07 14:52:38 +08:00
liuwei 5a02121ace allow multi-part replies for xiaoniu qa responses 2026-04-07 14:39:41 +08:00
liuwei 42feb29a40 add dota2 match history boundary for xiaoniu 2026-04-07 14:12:48 +08:00
liuwei daf5170008 tune xiaoniu mention reply behavior 2026-04-07 14:09:31 +08:00
liuwei acf3177571 use latest group image for xiaoniu image followups 2026-04-07 14:00:08 +08:00
liuwei 7c12738967 add multimodal quote handling for xiaoniu bot 2026-04-07 13:51:15 +08:00
liuwei 61edbbe987 fix: simplify emoji message display in dashboard 2026-04-07 13:29:35 +08:00
liuwei 389e4db37e fix: improve dashboard action button visibility 2026-04-07 13:18:08 +08:00
liuwei 7cdda82e39 feat: add dashboard restart action and improve text button contrast 2026-04-07 13:14:13 +08:00
liuwei 4423f64272 feat: improve friend circle like state handling 2026-04-07 13:08:12 +08:00
liuwei dd8c5b1829 feat: improve friend circle media and detail rendering 2026-04-07 13:04:19 +08:00
liuwei 2938a6b056 fix: normalize dashboard nav path matching 2026-04-07 12:56:48 +08:00
liuwei 684a22b3a6 fix: repair friend circle dashboard template 2026-04-07 12:55:34 +08:00
liuwei e8ed0d4799 feat: add dashboard friend circle management 2026-04-07 12:50:50 +08:00
liuwei d507cdf88d improve xiaoniu group awareness and solver suppression 2026-04-07 12:27:53 +08:00
liuwei faa5d68eb0 increase xiaoniu prompt context window to 30 messages 2026-04-07 12:21:51 +08:00
liuwei 1996df7b99 add group-aware persona bias for xiaoniu bot 2026-04-07 12:10:47 +08:00
liuwei d6abb1cc23 tighten xiaoniu reply triggers for direct mentions only 2026-04-07 11:50:30 +08:00
liuwei 8476149a2d tune xiaoniu reply brevity and flow thresholds 2026-04-07 11:36:02 +08:00
liuwei d616846098 refactor ai_auto_response into xiaoniu group bot 2026-04-07 11:15:29 +08:00
liuwei 1c052a7d16 fix(message_summary): format workflow token usage 2026-04-07 10:17:20 +08:00
liuwei e4082f6085 fix(message_summary): stop rendering failed workflow output 2026-04-07 10:02:22 +08:00
liuwei acc1e7f20b feat(message_summary): switch to streaming workflow 2026-04-07 09:55:17 +08:00
liuwei 51fe971cda feat(ai): clean reasoning content from replies 2026-04-07 09:23:48 +08:00
liuwei 496463c442 chore: remove temp gitlinks 2026-04-07 09:11:07 +08:00
liuwei 2a0cbb4e56 feat(message_summary): default to streaming mode 2026-04-07 09:10:24 +08:00
liuwei a9e8b71685 恢复群总结结果自动入库能力
- 重新新增群总结数据库操作类并自动建表 t_message_summary
- 在群总结插件初始化时接入总结入库数据库对象
- 定时总结成功发送后自动写入数据库,保留文本结果、图片路径和消息数量
- 失败提醒不入库,避免脏数据进入总结表
2026-04-03 11:37:42 +08:00
liuwei 16c7100958 为定时群总结提示增加自动撤回
- 为定时总结开始提示增加自动撤回能力
- 为定时总结失败提示增加自动撤回能力
- 新增统一的文本发送并登记撤回辅助方法
- 定时任务场景下自动懒初始化撤回器,避免提醒消息长期留在群里
2026-04-03 09:08:31 +08:00
liuwei 87da8e3b5c 为群总结生成增加三次重试机制
- Dify 请求失败时不再立即返回失败
- 群总结生成过程最多重试 3 次
- 增加 2 秒、4 秒递增等待,降低偶发错误影响
- 仅在三次都失败后才返回生成总结失败结果
- 补充重试次数与等待时间日志,便于排查总结异常
2026-04-03 09:04:03 +08:00
liuwei ff421a1b4b Revert "Reapply "完善表情资产后台能力并补充群总结落库""
This reverts commit 079f363382.
2026-04-03 08:52:59 +08:00
liuwei 8206cad38d Revert "优化表情异步补处理的参数提取与下载重试"
This reverts commit 4d2e841fb3.
2026-04-03 08:52:59 +08:00
liuwei 4d2e841fb3 优化表情异步补处理的参数提取与下载重试
- 对表情 XML 先做 HTML 实体还原,避免下载地址中的 & 影响请求
- 优先使用 XML 节点提取 aeskey、md5、len 和多种下载地址,正则作为补充兜底
- 异步补处理时按 encrypturl、cdnurl、thumburl 顺序重试下载
- 所有地址失败时记录业务告警,避免无意义异常栈刷屏
2026-04-03 08:46:30 +08:00
liuwei 079f363382 Reapply "完善表情资产后台能力并补充群总结落库"
This reverts commit 57bb46bb21.
2026-04-02 17:55:21 +08:00
liuwei 57bb46bb21 Revert "完善表情资产后台能力并补充群总结落库"
This reverts commit 2a54650a6f.
2026-04-02 17:54:35 +08:00
liuwei 2a54650a6f 完善表情资产后台能力并补充群总结落库
- 新增表情资产表,支持表情文件落盘后的资产沉淀、查询与发送时间回写
- 将表情下载从消息主链路中移出,改为后台定时批处理,降低同步入库阻塞风险
- 抽取通用 CDN 下载与 base64 落盘能力,统一图片与表情文件处理方式
- 在后台通讯录聊天窗口增加表情资产面板,支持查看资产并直接选择发送表情
- 新增后台表情资产接口,支持按群过滤最近表情素材
- 优化消息列表中的表情消息展示,支持在后台直接预览表情图片
- 启动时不再同步补偿历史表情,统一交由定时任务处理,避免影响系统稳定性
- 新增群总结落库表,支持将每日总结写入数据库,便于后续知识库提取与复用
- 将定时总结结果写入数据库,保留总结文本、周期信息、消息数量和元数据
2026-04-02 17:52:17 +08:00