SXP-Simon
da410b67cd
fix(muted): 禁言跳过分析功能兼容 snowluma
...
由于 SnowLuma 的 get_group_member_info 和 get_group_info 本身没有返回禁言字段,禁言检测的唯一路径就是 set_reaction 失败;依赖 SnowLuma/OIDB 操作被拒时返回特定值判断被禁言实现禁言记录并且跳过不必要的分析
2026-07-10 19:46:44 +08:00
SXP-Simon
3979a30787
[v4.10.7] - ✨ 被禁言避免触发分析功能浪费 token,重构并优化模型请求的重试与降级补偿机制
2026-07-10 15:34:13 +08:00
SXP-Simon
24db140382
fix(muted): set_reaction 失败的情况可能是禁言,直接判断为处于禁言状态
2026-07-10 15:14:26 +08:00
SXP-Simon
cd21776b1f
fix(OneBotAdapter): 增加群角色缓存用于 get_group_member_info 超时降级,减少全群禁言情况下获取 info 超时情况下管理员身份被错判而跳过分析和发送的情况
2026-07-10 14:59:43 +08:00
SXP-Simon
a42e876ef8
fix(call_provider_with_retry): 只有 primary provider 全部重试失败后,才会出现第二组 fallback 的 Provider 选择日志,减少不必要的日志内容 ( e53016e)
2026-07-10 14:41:06 +08:00
Helian Nuits
e8af00e016
feat(muted): 被禁言避免触发分析功能浪费 token ( #191 ) ( #203 )
...
* feat(AnalysisApplicationService): 增加针对禁言的优化
* fix: 优先从 Event 中提取 bot_self_id
* fix: 禁言异常处理
* fix: 不传递 no_cache=True 以免超时
* fix: 如果 bot_instance 没变,且已经有适配器,跳过重新创建,防止丢失内部状态
* fix: set_reaction 方法操作异常拦截
* fix: 修复错误的禁言发送消息,改为日志提示
* chore: add .tmp_refs to .gitignore
* refactor(onebot): optimize and prune group mute cache
* fix(onebot): resolve pylance type mismatch warning in min key
* fix(onebot): annotate params dict with precise union type to resolve pylance warning
2026-07-08 11:44:19 +08:00
e53016eb01
feat(llm): 重构并优化模型请求的重试与降级补偿机制 ( #195 )
...
* refactor: optimize LLM fallback strategy using a unified attempt queue (Strategy B)
* refactor: apply exponential backoff, fix format state bleeding, and update typing to Any
* fix: avoid false breaker failures in LLM fallback
* style: format llm_utils.py with ruff
* fix: resolve possibly unbound variable warning in llm_utils.py
* refactor: replace loose Any type annotations with precise Context, ConfigManager, JSONValue, and LLMResponse
* docs: update call_provider_with_retry docstring and timeout comments
---------
Co-authored-by: Rat0323 <261020116+Rat0323@users.noreply.github.com >
Co-authored-by: SXP-Simon <sxp20061207@163.com >
2026-07-08 11:28:16 +08:00
d5b0c26289
fix(path): pass plugin name to StarTools.get_data_dir() to avoid inspect.stack() crash ( #193 )
...
* fix: pass plugin name to StarTools.get_data_dir to avoid inspect-stack crash
* refactor: reuse plugin name constant for data dir
---------
Co-authored-by: Rat0323 <rat0323@users.noreply.github.com >
Co-authored-by: Rat0323 <261020116+Rat0323@users.noreply.github.com >
2026-07-08 11:04:19 +08:00
SXP-Simon
27f0e9e838
[v4.10.6] - ✨ 支持 [SnowLuma]( https://github.com/SnowLuma/SnowLuma ) ,优化 HatsuneMiku 移动端适配情况
2026-05-23 16:46:35 +08:00
β-吲哚基丙氨酸awa and Copilot Autofix powered by AI
686d6a90f2
feat(onebot): Support Snowluma ( #189 )
...
* Update onebot_adapter.py
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-23 16:31:21 +08:00
Shiitin
8984f75c2f
refactor(HatsuneMiku): 优化了移动端直接使用浏览器打开 HTML 时的 UI 排版情况 ( #184 )
...
* refactor:优化了移动端直接使用浏览器打开HTML时的UI
* feat:将所有模板中的base64编码图片转换为链接拉取以降低源文件大小
2026-05-09 20:20:55 +08:00
SXP-Simon
1a3d079535
[v4.10.5] - ✨ 支持可选流式 LLM 调用 ( #181 @anchorAnc)
2026-05-01 18:37:44 +08:00
SXP-Simon
2d5585a47d
refactor(json_utils): 重构JSON解析逻辑,提取通用方法并清理代码
2026-05-01 18:19:43 +08:00
Hengjie Wang and SXP-Simon
83486de1d1
feat: 支持可选的流式 LLM 调用 ( #181 @anchorAnc)
...
* feat: add optional streaming LLM provider call
* fix(llm_utils): code quality
---------
Co-authored-by: SXP-Simon <sxp20061207@163.com >
2026-05-01 18:17:43 +08:00
Helian Nuits
fd51b4e399
fix(readme): readme 飞书接入情况说明
...
Updated Feishu / Lark integration section to indicate it is a work in progress.
2026-04-29 20:52:07 +08:00
SXP-Simon
9e0f88eeda
[v4.10.4] - 🛠️ 将镜像地址配置注入到子模板渲染上下文中,解决 ATRI 子模板中变量未定义导致的生成问题
2026-04-27 17:12:29 +08:00
SXP-Simon
616d16010c
fix(ATRI): 将镜像地址配置注入到子模板渲染上下文中,解决子模板中变量未定义导致的问题
2026-04-27 17:03:59 +08:00
SXP-Simon
09b4d188f2
fix(typo): T2I 文档
2026-04-26 21:22:50 +08:00
SXP-Simon and Copilot
ec2249b9a7
[v4.10.3] - ✨ 优化报告模板中的头像与内联图片复用,并修复 Miku 峰值区块窄屏排版问题 ( #178 @lekoOwO)
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-26 14:41:07 +08:00
leko
854b8c280a
优化报告模板中的头像与内联图片复用,并修复 Miku 峰值区块窄屏排版 ( #178 )
...
* refactor: 优化报告模板中的头像与内联图片复用,并修复 Miku 峰值区块窄屏排版
* refactor(avatar): improve avatar reference generation to enhance privacy by avoiding exposure of platform or user IDs
2026-04-26 14:36:14 +08:00
SXP-Simon and Copilot
bb04114cdb
[v4.10.2] - ✨ Telegram 头像处理修复,支持多地区渲染环境与自定义镜像
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 12:35:18 +08:00
SXP-Simon
948bfb1b5b
refactor(render): 解决国内可能存在的资源访问问题,新增大陆资源和海外资源可选项,允许用户根据服务器位置选择不同的资源策略,并且允许自定义资源镜像站
...
- Updated language attributes in HTML templates to dynamically set based on `t2i_font_source`.
- Replaced hardcoded Google Fonts links with dynamic links using `t2i_google_fonts_mirror` and `t2i_gstatic_mirror`.
- Adjusted font-family declarations to conditionally include 'Noto Sans SC' and 'Noto Sans TC' based on the `t2i_font_source`.
- Ensured consistent formatting and style across various templates including image, quote, topic, and user title items.
- Added missing newlines at the end of several files for consistency.
2026-04-25 12:22:36 +08:00
leko
54f517d3b0
fix(theme): 修復 HatsuneMiku 與 hack 主題在 HTML 模式的跑版,優化窄裝置版面並補強繁中字體 ( #177 )
...
* refactor: update HTML templates for Hatsune Miku reporting
- Changed language attribute from zh-CN to zh-Hant for better localization.
- Updated font links to include Traditional Chinese fonts (Noto Sans TC).
- Enhanced CSS styles for responsiveness and improved layout across various components.
- Added new classes for better structure and maintainability in quote, topic, and user title items.
- Adjusted styles for mobile view to ensure better usability and aesthetics.
* fix: update HTML templates for improved responsiveness and accessibility
* Refactor styles: Move CSS from image_template.html to shared_styles.html for better maintainability and organization
* fix: update font links and styles in HTML templates for consistency
2026-04-25 11:25:15 +08:00
leko
2618491246
fix: telegram avatar handling ( #176 )
...
* feat: add avatar caching support and improve error handling in Telegram adapter
* feat(avatar): implement avatar negative cache management and improve logging levels
2026-04-25 11:08:46 +08:00
SXP-Simon
e48716dbf8
[v4.10.1] - ✨ 优化 T2I 渲染与自定义配置
2026-04-23 08:53:51 +08:00
SXP-Simon
fc843fac03
feat: 优化 T2I 渲染与自定义配置
...
1. 支持配置两轮 T2I 渲染策略,允许用户自定义图片格式(PNG/JPEG)、质量、分辨率及超时时间。
2. 实现 T2I 返回 HTML 错误页的自动识别与摘要提取(如 502 Bad Gateway),提升故障排查效率。
- 参考 #174 关于 T2I 动态超时与配置的建议
- 参考 #171 关于处理 T2I 返回 HTML 错误信息的建议
- 解决了 [Feature Request] 支持配置 PNG/JPEG 渲染优先级,避免大报告场景下因本地大图保护而回退为文件发送 #164
2026-04-23 08:43:51 +08:00
SXP-Simon
e1c5b854c7
[v4.9.19] - ✨ 支持 LLBot 群相册接口并优化 OneBot 适配器
...
Fixes #173
2026-04-22 15:17:28 +08:00
SXP-Simon
b119ea741e
feat(album): 支持 LLBot 群相册接口并优化 OneBot 适配器
2026-04-22 15:15:59 +08:00
SXP-Simon
d36bf4941a
[v4.9.18] - ⚙️ base64 传输统一开关修复,正确处理 Onebot Adapter 的图片、文件资源传输情况
2026-04-15 23:19:51 +08:00
SXP-Simon
c17371051a
fix(onebot): base64 统一开关,提取 OneBot 适配器中的通用传输与查找逻辑
...
- 提取 `_execute_transmission_strategy` 以统一处理 Base64/路径尝试/重试的传输流水线。
- 提取 `_find_item_in_list` 辅助函数,简化群文件夹和相册的名称匹配逻辑。
- 重构 `send_image`、`send_file`、`upload_group_file_to_folder` 和 `upload_group_album` 以减少代码冗余。
- 提升 OneBot 平台适配器的代码可维护性与逻辑一致性。
2026-04-15 22:56:24 +08:00
SXP-Simon
cc162b62dd
[v4.9.17] - ✨ 人格画像体验升级,SBTI 和 ACGTI 风格
2026-04-13 22:37:24 +08:00
SXP-Simon
3d6e3d45a1
fix(_get_manifest_profile_item_by_mbti): 正确的 fallback 处理
2026-04-13 22:13:36 +08:00
SXP-Simon
ed85876b36
feat(mbti): 替换 mbti 简单实现 sbti acgti 功能
2026-04-13 21:43:25 +08:00
SXP-Simon
06ea0e7812
docs(MBTI): 为多样化 MBTI 增加开发说明文档 ( #167 )
2026-04-13 16:51:34 +08:00
Shiitin and SXP-Simon
d47a9411b2
fix: 修复了当html_only_url打开时,URL拼接错误问题 ( #169 )
...
Fixes #169
* fix:修复了当html_only_url打开时,手动触发部分URL拼接错误问题
* fix:修复了当html_only_url打开时,自动触发部分URL拼接错误问题
* fix: ruff
---------
Co-authored-by: SXP-Simon <sxp20061207@163.com >
2026-04-13 15:37:18 +08:00
SXP-Simon
45c9ca9bea
[v4.9.16] - 增加了html_only_url选项,使在选择输出格式为html时可以单独发送BaseURL ( #166 @shiitin)
2026-04-12 22:08:49 +08:00
Shiitin
911b8b2fb2
feat(html): 增加了html_only_url选项,使在选择输出格式为html时可以单独发送BaseURL ( #166 @shiitin)
...
* 更改了AstrBot中面板的的设置项,增加了html_only_url选项
* 增加了html_only_url
* 增加了单独发送URL
在html_only_url设置被打开且配置了Base URL后,将会单独发送URL
* 加入测试日志,尝试解决存在问题
* 加入测试日志,尝试解决存在问题
* 删除了定时触发部分的测试日志
* 修改了手动触发部分的发送HTML的判断
* 修改了main.py的单行长度过长问题
* 修复了dispatcher.py的缩进问题
2026-04-12 22:03:45 +08:00
SXP-Simon
937f4e1782
[v4.9.15] - fix: 发送假超时不应该导致上传群相册群文件失败,删除 PDF 模块和相关的功能
2026-04-07 22:30:20 +08:00
SXP-Simon
93b2b847ef
fix(output_format): 改为 options 形式处理,提升用户体验
2026-04-07 22:27:34 +08:00
SXP-Simon
ae38febca2
fix(pdf): 删除 PDF 模块和相关的功能
2026-04-07 22:17:09 +08:00
SXP-Simon
98d485dbe6
Merge branch 'main' of https://github.com/SXP-Simon/astrbot_plugin_qq_group_daily_analysis
2026-04-07 21:41:24 +08:00
SXP-Simon
3343fcce22
fix(ReportDispatcher): 发送假超时不应该导致上传群相册群文件失败
...
[Bug] 聊天记录转发,群文件上传
Fixes #160
2026-04-07 21:40:52 +08:00
SXP-Simon
34437e7ebe
fix(ReportDispatcher): 发送假超时不应该导致上传群相册群文件失败
2026-04-07 21:25:10 +08:00
SXP-Simon
b1c85d8994
[v4.9.14] - feat(persona): 分析器人格增强和使用体验优化,可视化选择人格配置
2026-04-04 21:26:31 +08:00
SXP-Simon
0fa01883a1
revert: revert 'force desktop viewport for exported html reports ( #147 )' in commit befcc2ad
2026-04-04 21:18:37 +08:00
SXP-Simon
60cf29b0d5
feat(analyzer): 增强人格设定注入策略
2026-04-04 20:58:36 +08:00
SXP-Simon
a8a22233d4
fix(ChatQualityAnalyzer): 手动 apply_persona_reinforcement
2026-04-04 20:44:36 +08:00
SXP-Simon
a75776f085
feat(analyzer): 增强人格设定注入策略,采用首尾双重注入提升角色保持能力,避免聊天记录上下文过长导致的 LLM 对于人格提示词的注意力下降
2026-04-04 20:18:11 +08:00
SXP-Simon
92a365475c
feat(persona): 人格设定功能增强,支持插件指定和会话继承的人格分析
2026-04-04 19:40:30 +08:00
SXP-Simon
5375659769
fix(conf): 增强服务稳定性
2026-04-04 19:40:30 +08:00