Dt8333
eaaff4298d
fix(Python-Interpreter): fix incorrect file read method ( #2970 )
...
fix getting file by property(Sync) in an async handler
#2960
2025-10-06 16:12:05 +08:00
Soulter
dd5a02e8ef
chore: bump version to 4.3.2
v4.3.2
2025-10-05 01:01:13 +08:00
Soulter
3211ec57ee
fix: handle Google search initialization and errors gracefully
2025-10-05 00:55:47 +08:00
Soulter
6796afdaee
fix: googlesearch
2025-10-05 00:54:24 +08:00
Soulter
cc6fe57773
fix: on_tool_end无法获得工具返回的结果 ( #2956 )
...
fixes : #2940
2025-10-05 00:37:51 +08:00
Soulter
1dfc831938
fix: 修复 reset 没有清除群聊上下文感知数据的问题 ( #2954 )
2025-10-05 00:05:42 +08:00
Futureppo
cafeda4abf
feat: 为插件市场的搜索增加拼音与首字母搜索功能 ( #2936 )
...
* 更新 package.json
* 更新 ExtensionPage.vue
2025-10-03 09:42:57 +08:00
Soulter
d951b99718
fix: 发送阶段将 Plain 为空的消息段移除
2025-10-03 00:45:07 +08:00
Soulter
0ad87209e5
chore: bump version to 4.3.1
v4.3.1
2025-10-02 17:25:09 +08:00
Soulter
1b50c5404d
fix: enhance knowledge base plugin status check to handle empty data response
2025-10-02 17:25:00 +08:00
Soulter
3007f67cab
fix: update Dockerfile to remove npm installation and streamline package setup
...
closes : #2284
v4.3.0
2025-10-02 16:59:11 +08:00
Soulter
ee08659f01
chore: bump version to 4.3.0
2025-10-02 16:37:54 +08:00
Soulter
baf5ad0fab
fix: 修复接入智谱提供商后,工具调用无限循环的问题,并停止支持 glm-4v-flash ( #2931 )
...
fixes : #2912
2025-10-02 16:03:24 +08:00
kterna
8bdd748aec
feat: 支持注册消息平台适配器的 logo ( #2109 )
...
* feat: 添加平台适配器 logo 支持
* 优化平台logo注册逻辑,增加缓存机制并支持并行处理
* 去除判断绝对路径
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-02 14:36:15 +08:00
Soulter
cef0c22f52
feat: update prompt prefix handling to support placeholder replacement
2025-10-02 14:20:52 +08:00
Soulter
13d3fc5cfe
fix: fix type checking error and op, deop, wl, dwl command
2025-10-02 00:18:12 +08:00
Soulter
b91141e2be
fix: add plugin activation check and corresponding messages in Knowledge Base
2025-10-01 22:14:03 +08:00
Soulter
f8a4b54165
fix: 修复插件指令注解为联合类型时处理异常的问题 ( #2925 )
...
* fix: 修复插件指令注解为联合类型时处理异常的问题
* fix: 修复参数类型检查以支持 typing.Union
* Update astrbot/core/star/filter/command.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update astrbot/core/star/filter/command.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: 修复参数类型检查以支持 typing.Union 的处理逻辑
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-01 21:46:49 +08:00
Soulter
afe007ca0b
refactor: 优化 packages/astrbot 内置插件的代码结构以提高可维护性和可读性 ( #2924 )
...
* refactor: code structure for improved readability and maintainability
* style: ruff format
* Update packages/astrbot/commands/provider.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update packages/astrbot/commands/persona.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update packages/astrbot/commands/llm.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update packages/astrbot/commands/conversation.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* fix: improve error handling message formatting in key switching
* fix: update LLM command to use safe get for provider settings
* feat: implement ProcessLLMRequest class for handling LLM requests and persona injection
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-10-01 21:29:15 +08:00
Soulter
8a9a044f95
fix: 修复注册指令组指令时的 Pyright 类型检查提示 ( #2923 )
2025-10-01 20:03:04 +08:00
u0_ani-nya.com
5eaf03e227
perf: 对于 Telegram 群聊,将回复机器人的消息视为唤醒机器人 ( #2926 )
...
* reply as at for tg
Add handling for bot replies in group messages.
* style: type checking and ruff format
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-01 19:04:37 +08:00
Seayon
a8437d9331
feat: 支持在 Telegram 和飞书下请求 LLM 前预表态功能 ( #2737 )
...
* ✨ feat(platform): 为 Telegram 和飞书添加消息表情回应功能
支持在收到命令时自动添加表情回应,提升用户交互体验
新增平台特异配置项,允许自定义启用状态和表情列表
* Update astrbot/core/platform/astr_message_event.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* style: ruff format
* fix: 优化平台特异配置的预回应表情处理逻辑
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com >
2025-09-30 17:29:34 +08:00
晴空
e0392fa98b
fix: 用 mi-googlesearch-python 库代替失效的 googlesearch-python 库 ( #2909 )
...
* googlesearch-python库失效,用mi-googlesearch-python库平替,恢复谷歌搜索
* Update googlesearch-python dependency version
2025-09-29 12:54:16 +08:00
ctrlkk
68ff8951de
feat: 添加分页和搜索功能以获取会话列表,优化前端与后端的数据交互 ( #2906 )
...
* feat: 添加分页和搜索功能以获取会话列表,优化前端与后端的数据交互
* fix: 修复会话计数显示,使用总项数替代会话数组长度
* fix: 将参数类型和名称与实现内容匹配。
* perf: convert for loop into list comprehension
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* fix: type checking error
* fix: 优化 persona_id 的获取逻辑
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com >
2025-09-28 23:25:30 +08:00
KroMiose
9c6b31e71c
Update README.md ( #2904 )
2025-09-28 14:50:02 +08:00
Soulter
50f74f5ba2
fix: 修复"开启 TTS 时同时输出语音和文字内容"功能不可用的问题 ( #2900 )
...
fixes : #2844
2025-09-28 10:48:57 +08:00
Soulter
b9de2aef60
chore: bump version to 4.2.1
v4.2.1
2025-09-27 23:36:25 +08:00
Soulter
7a47598538
fix: 修复指令无法使用的问题
...
fixes : #2897
2025-09-27 23:35:35 +08:00
Soulter
3c8c28ebd5
chore: bump version to 4.2.0
v4.2.0
2025-09-27 20:45:50 +08:00
Soulter
524285f767
feat: add cancel button with localized text to AddNewPlatform and update close button in AddNewProvider
...
fixes : #2889
2025-09-27 20:41:45 +08:00
Soulter
c2a34475f1
feat: 支持删除指定会话以及部分会话管理优化 ( #2895 )
...
* feat: add toast notification system with snackbar component
* feat: add session deletion functionality
* feat: support batch operations for updating session persona, provider, LLM, and TTS statuses
fix : #2263
* feat: 修复对话状态关闭,删除对话管理库会导致对话无法恢复
fixes : #2309
2025-09-27 20:36:30 +08:00
Soulter
a69195a02b
fix: webchat streaming queue interrupted after user closing tab ( #2892 )
...
* feat: add toast notification system with snackbar component
* feat: enhance chat functionality with conversation running state and notifications
* fix: update bot message avatar rendering during streaming
* feat: implement conversation tracking context manager for webchat
* fix: update conversation tracking to remove conversation ID on exit
2025-09-27 17:57:12 +08:00
RC-CHN
19d7438499
fix: unit tests ( #2760 )
...
* fix:修复了main和plugin_manager部分单元测试
* fix: 修复了dashboard部分测试
* remove: 删除暂无用的配置测试脚本
* perf:拆分插件增查删改为独立的单元测试
* refactor: 重构插件管理器测试,使用临时环境隔离测试实例
* test: 增加对仪表板文件检查的单元测试,涵盖不同情况
* style: format code
* remove: 删除未使用的导入语句
* delete: remove unused test file for pipeline
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-27 14:43:04 +08:00
anka
ccb380ce06
feat: 支持接入 Coze ( #2858 )
...
* feat: 适配 coze 供应商
1. 支持文件上传
2. 支持多模态
3. 支持流式传输
4. 支持 API 端的上下文保存历史记录
5. 支持类似 dify 的 forget 接口
* style: format code
* fix: type checking error
* fix: 修复:
1. 使用coze api端的上下文时, 现在不会重复传递上下文
2. 使用 AstrBot 的上下文时, 正确处理其中的图片信息
3. 上传图片时, 提供一个非持久化的缓存避免重复上传(在解析上下文并将文件转化为file_id传递给coze api时, 如果没有缓存会导致很多的网络资源浪费)
4. 修复reset等指令不能正确重置上下文的问题
* fix: 移除某些地方多余的针对 dify 的断言, 以兼容 Coze
* style: 修改配置项显示/webchat平台对于非预期的类型的处理
* fix: 让conversation_id放到请求中正确的位置
* refactor: extract coze api client
* refactor: improve image processing logic in ProviderCoze
* chore: remove file ext guessing
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-27 14:23:29 +08:00
Ding Jiatong
a35c439bbd
fix: 使用增量解码器修复 Dify 流式返回结果偶现的解码错误 ( #2888 )
...
* fix: 修复linux下utf-8解码错误的问题
* feat: use incremental decoder
* fix: add type hint for response parameter in _stream_sse and refactor file upload method
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-26 23:04:58 +08:00
Soulter
09d1f96603
fix: 修复 /alter_cmd 指令无法控制指令组、子指令组和子指令组下子指令的问题 ( #2873 )
...
* fix: revert changes in command_group.py at 782c036 to fix command group permission check
* fix: 不传递 GroupCommand handler
* perf: alter_cmd 指令支持对子指令、指令组进行配置
* chore: remove test commands and subcommands from test_group
* chore: add cache for complete command names list in CommandFilter and CommandGroupFilter
---------
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-09-26 14:16:50 +08:00
鸦羽
26aa18d980
Merge pull request #2881 from Raven95676/fix/2879
...
fix: add missing id field
2025-09-26 11:31:28 +08:00
Raven95676
d10b542797
chore: format
2025-09-26 11:05:32 +08:00
Raven95676
ce4e4fb8dd
fix: add missing id field
2025-09-26 10:59:11 +08:00
Soulter
8f4a31cf8c
chore: bump version to 4.1.7
v4.1.7
2025-09-23 22:16:36 +08:00
Soulter
23549f13d6
Feature: 支持批量删除对话历史 ( #2859 )
...
* feat: 支持批量删除对话
closes : #2784
* feat: 添加加载状态禁用功能,优化用户交互体验
2025-09-23 22:10:56 +08:00
Soulter
869d11f9a6
perf: 优化验证配置时的性能,移除配置隐式类型转换
...
fixes : #2646
2025-09-23 21:04:14 +08:00
Soulter
02e73b82ee
fix: 修复无法打开更新对话框的问题
2025-09-23 20:29:10 +08:00
Soulter
f85f87f545
feat: WebChat 支持手动填写模型名
...
closes : #2830
2025-09-23 15:32:54 +08:00
Soulter
1fff5713f3
refactor: 解耦 PlatformPage 和 ProviderPage 的部分组件
2025-09-23 15:32:54 +08:00
Soulter
8453ec36f0
docs: Revise links for documentation and blog in README
...
Updated links in the README for documentation and blog.
2025-09-23 14:12:05 +08:00
Soulter
d5b3ce8424
fix: update download_dashboard to log specific dashboard release URLs
v4.1.6
2025-09-23 13:10:33 +08:00
Soulter
80cbbfa5ca
chore: bump version to 4.1.6
2025-09-23 13:02:06 +08:00
Soulter
9177bb660f
fix: improve error handling in run_agent for streaming responses
2025-09-23 10:34:24 +08:00
Soulter
a3df39a01a
perf: unified button styles
...
closes : #2748
2025-09-23 10:27:52 +08:00