Soulter
80a86f5b1b
fix: 修复 astrbot.core.star 等包下的 type checking error ( #2787 )
...
* fix: 修复 astrbot.core.star 等包下的 type checking error
* refactor: improve type checking and annotations
* chore: ruff format
2025-09-21 18:10:04 +08:00
anka
a4b43b884a
fix: 修复aiocqhttp适配器at会获取群昵称而消息不会获取的逻辑不一致 ( #2769 )
...
* fix: 修复at会获取群昵称而消息不会获取的逻辑不一致
* style: format code
2025-09-19 13:04:51 +08:00
PaloMiku
824c0f6667
feat: 新增 Misskey 平台适配器 ( #2774 )
...
* feat: add Misskey platform adapter
* fix: 修复 Misskey 配置项的大小写问题
* feat: 添加消息链序列化功能和可见性解析逻辑
* chore: 删除损坏的 Misskey 平台适配器工具函数文件
* docs: 更新 Misskey 消息适配器设置描述信息
* feat: Misskey 单用户连续上下文对话支持
* feat: 为 Astrbot 添加 Misskey 平台适配器的 ID 配置
* feat: 重构 Misskey 平台适配器,提取通用工具函数并优化消息处理逻辑
* refactor: 清理 Misskey 平台适配器和 API 代码,移除冗余注释
* fix: 修复了使用中和使用者反馈的多个问题
* fix: 修改提及格式,确保提及在新行开始,提升帖子美观和易读性。
* feat: 添加默认可见性和本地仅限设置,优化 Misskey 平台适配器的配置
* fix: 更新 Misskey 平台适配器配置,使用前缀以防止和其他适配器未来可能的冲突问题
* chore: rename 'misskey' to 'Misskey' in config
* feat: Misskey 适配器添加聊天消息响应功能,重构接收和发送逻辑为 Websockets 处理
* fix: 增强 Misskey WebSocket 消息日志输出
* refactor: 优化 Misskey 适配器的消息处理和日志输出
* fix: 增强 Misskey WebSocket 重连接逻辑
* feat: 增强 Misskey 适配器的消息处理,支持房间消息和相关功能,重构通用函数,清理代码重复冗余
* fix: 不屏蔽唤醒前缀对默认 LLM 的唤醒
* fix: 透传所有的群聊消息事件
* fix: 修复 message_type
* perf: 实现 send_streaming 以支援流式请求
* docs(README): update README.md
* fix: super().send(message) 被忽略
* fix: 修正 session 结构
: 作为分隔符可能会导致 umo 组装出现问题
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-09-18 23:34:41 +08:00
Soulter
3a9429e8ef
fix: on_tool_end hook unavailable
2025-09-17 15:48:57 +08:00
anka
c4eb1ab748
chore: bump version to 4.1.4
2025-09-16 20:09:11 +08:00
anka
0cc65513a5
Revert "fix: parameter type/default handling in CommandFilter"
2025-09-16 20:01:05 +08:00
Soulter
debc048659
chore: bump version to 4.1.3
2025-09-16 13:16:21 +08:00
手瓜一十雪
9519f1e8e2
fix: parameter type/default handling in CommandFilter
...
Adjusts logic to prioritize type annotations over default values when setting handler_params in CommandFilter. This ensures that parameter types are correctly inferred when available.
2025-09-16 11:49:27 +08:00
Soulter
a8f874bf05
fix: 修复分段回复时,引用消息单独发送导致第一条消息内容为空的问题 ( #2757 )
2025-09-16 10:45:39 +08:00
anka
9d9917e45b
feat: 增加群名称识别到 system prompt, 并提供相应的配置 ( #2770 )
...
* feat🤖 : 增加群名称识别到system prompt, 并提供相应的配置
* feat: 优化实现方式, 重构AstrBotMessage, 向后兼容
* style: format
2025-09-16 10:23:08 +08:00
Soulter
91ee0a870d
fix: handle image value correctly for mcp BlobResourceContents ( #2753 )
2025-09-16 08:22:18 +08:00
Soulter
fda655f6d7
fix: 修复配置默认 TTS 或者 STT 模型之后仍无法生效的问题 ( #2758 )
...
fixes : #2731
2025-09-15 22:08:40 +08:00
Soulter
a663d6509b
chore: bump version to 4.1.2
2025-09-14 21:07:36 +08:00
Soulter
9ec8839efa
perf: 检查服务提供商可用性时跳过未启用的提供商
2025-09-14 21:01:32 +08:00
Soulter
a7a0350eb2
fix: 平台配置下的「内容安全」组无法生效 ( #2751 )
2025-09-14 20:25:53 +08:00
Soulter
39a7a0d960
fix: revert "feat: 兼容指令名和第一个参数之间没有空格的情况 ( #2650 )" for command issue
...
This reverts commit 9bfa726107 .
2025-09-14 19:31:15 +08:00
Soulter
7740e1e131
ci: add ci stage of code format checking ( #2750 )
...
* style: ruff format
* ci(dashboard-ci): ensure GitHub Release action only runs on push events
* ci(code-format): ruff format and ruff check
2025-09-14 18:05:58 +08:00
Soulter
20c32e72cc
chore: bump version to 4.1.1
2025-09-13 16:19:40 +08:00
Soulter
4788c20816
fix: model variable referenced before assignment
2025-09-13 16:18:22 +08:00
Soulter
e83fc570a4
chore: bump version to 4.1.0
2025-09-13 13:31:49 +08:00
Yokami
e841b6af88
feat: 支持在 WebUI 自定义 OpenAI API extra_body 参数 ( #2719 )
...
* feat: 支持OPENAI系 模型的自定义标头,以解决qwen模型无法使用的问题
* fix: 修复AI说的问题
* fix: 布尔开关向右对齐
2025-09-13 13:23:49 +08:00
Zhalslar
9bfa726107
feat: 兼容指令名和第一个参数之间没有空格的情况 ( #2650 )
...
插件中@filter.command的指令在用户输入“命令+参数” 无空格隔开时无法处理,但只要稍微改动几行代码就可以兼容
2025-09-12 15:40:37 +08:00
shangxue
d24902c66d
feat: 添加 --webui-dir 启动参数以支持指定 WebUI 构建文件目录 ( #2680 )
...
* Update main.py
* Update server.py
* Update main.py
* Update main.py
* Update main.py
* Update initial_loader.py
* Update server.py
* Update main.py
* chore: update webui_dir type hint and improve dashboard file check logic
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-12 15:15:29 +08:00
RC-CHN
72aea2d3f3
feat: 允许添加多个 tavily API Key 进行轮询 ( #2725 )
...
* feat: 允许添加多个tavily API Key进行轮询
* perf: 并发安全的从列表中获取并轮换Tavily API密钥
* fix: 自动迁移旧版 websearch_tavily_key 为列表格式并保存
2025-09-12 15:03:47 +08:00
RC-CHN
dc9612d564
fix: 修复自定义文转图模板更新版本后会被覆盖的问题 ( #2677 )
...
* perf: 更新模板管理逻辑,在data目录中管理用户自定义模板,优化热重载逻辑
* refactor: 优化模板管理逻辑,重构模板复制和初始化流程,增强用户模板管理功能
* chore:移除无用注释
* remove:移除了t2i部分中不会走到的异常
* style: format code
* fix: trim whitespace from template names in create, update, and delete operations
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-12 13:34:07 +08:00
Soulter
d597fd056d
fix: 修复知识库不能创建的问题
2025-09-11 17:27:57 +08:00
anka
9431efc6d1
feat: 增加 on_platform_loaded 钩子以在消息平台适配器实例化完成后触发 ( #2651 )
...
* feat⚒️ : 增加平台加载时的钩子
* fix: 补充api
* fix: 只捕获Exception
2025-09-09 08:44:37 +08:00
Soulter
7c3f5431ba
chore: bump version to 4.0.0
2025-09-07 21:19:19 +08:00
anka
d98cf16a4c
feat: 增加根据qq号/群号主动发送消息的封装, 增加事件构造 ( #2629 )
...
* feat: 增加根据qq号/群号主动发送消息的封装, 增加事件构造
* fix: 增加不支持平台提示, 修正文档字符串
* chore: lint
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-07 17:04:29 +08:00
Soulter
2c3c3ae546
fix: 移除无用的调试日志以简化命令注册逻辑
2025-09-07 11:37:34 +08:00
RC-CHN
b31b520c7c
feat: 支持管理 T2I 模版 ( #2638 )
...
* feat:添加t2i模板管理后端api,移除config.py中重复功能
* feat: 添加T2I模板管理功能前端,支持模板的创建、应用和重置
* refactor: 修复错误的保存逻辑,将t2i注册时打印路由信息部分移到基类实现
* remove:移除了路由注册时的打印
* chore: format code
* fix: update input variant from solo to outlined for better UI consistency
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-07 00:14:28 +08:00
shangxue
17aee086a3
feat: 添加 Satori 协议适配器支持 ( #2633 )
...
* Create satori_adapter.py
* Add files via upload
* Update default.py
* Update manager.py
* Update platform_adapter_type.py
* Update PlatformPage.vue
* Add files via upload
* Update default.py
* Update manager.py
* Update platform_adapter_type.py
* Update PlatformPage.vue
* Add files via upload
* Update default.py
* chore: format code
* feat: 修复 Image, Audio 的解析,修复 message_str 的解析
* perf: 增强鲁棒性
* feat: 添加 Satori 配置项描述,移除适配器默认配置
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-06 23:52:00 +08:00
Zhalslar
c1756e5767
fix: 修复组件 type 属性为枚举值 ( #2628 )
...
当前components.py中每个组件的type属性都是直接字符串赋值,IDE会爆红。
修正为使用本就定义好的ComponentType枚举类
用时修正多个组件中当url为空时convert_to_base64检查路径导致的报错
2025-09-06 19:22:49 +08:00
anka
2920279c64
Fix: 修正 QQ 群成员昵称获取 ( #2626 )
...
* feat: 修正群昵称获取
* fix: 增加兜底机制
2025-09-06 19:16:57 +08:00
Soulter
26c6a2950f
📦 release: bump version to v4.0.0-beta.5
2025-09-05 17:42:38 +08:00
Soulter
5082876de3
fix: 修复 v4.0.0 版本下可能无法得到 LLM 的响应的问题
...
closes : #2622
2025-09-05 17:20:29 +08:00
卢小辉
45a4a6b6da
feat: 给添加 edge_tts 新增 rate, volume, pitch 参数 ( #2625 )
...
* 修复python执行器文件上传qq提示参数错误问题,修改策略为本地url
* 给edge_tts 添加3个默认参数,方便通过ui配置
2025-09-05 15:23:21 +08:00
Soulter
02918b7267
perf: 增加 abconf_data 缓存,优化性能
2025-09-04 23:48:33 +08:00
Soulter
6c662a36c1
fix: 适配 qwen3 的 thinking 类模型
...
fixes : #2631
2025-09-04 20:26:52 +08:00
Soulter
35eda37e83
Merge remote-tracking branch 'origin/releases/v3.5.27'
2025-09-04 15:30:15 +08:00
Soulter
176a8e7067
chore: add no_proxy config item
2025-09-04 15:23:58 +08:00
Soulter
61d4f1fd4b
📦 release: v3.5.27
2025-09-04 15:01:44 +08:00
Soulter
d11f1d8dae
perf: enhance update checks to consider pre-release versions
2025-09-04 14:33:19 +08:00
Soulter
2a7308363e
fix: 下载 WebUI 时,明确版本号
2025-09-04 13:54:16 +08:00
Zhalslar
0f8b550d68
fix: aiocqhttp优先使用session_id发送消息 ( #2623 )
...
* fix: aiocqhttp优先使用session_id发送消息
当前aiocqhttp依赖raw_message来发送消息,raw_message为空时也无法有效回退到用group_id或user_id来发送,更符合逻辑的应该:优先使用session_id(group_id or user_id),raw_message兜底
* Update aiocqhttp_message_event.py
* fix: validate session_id as integer and improve send_message docstring
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-04 11:34:40 +08:00
Soulter
fa53b468fd
fix: ensure function call name and args are not None before processing
2025-09-04 11:18:58 +08:00
Soulter
388ae49e55
fix: 修复 e.message 为 None 时报错的问题和一些 lint error
2025-09-03 22:25:18 +08:00
Soulter
f3f347dcba
📦 release: bump verstion to v4.0.0-beta.4
2025-09-03 13:29:20 +08:00
Soulter
06df2940af
chore: change identifier description
2025-09-03 12:46:10 +08:00
Soulter
da351991f8
📦 release: bump verstion to v4.0.0-beta.3
2025-09-03 01:01:48 +08:00