Soulter
3c8c28ebd5
chore: bump version to 4.2.0
2025-09-27 20:45:50 +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
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
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
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
d5b3ce8424
fix: update download_dashboard to log specific dashboard release URLs
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
1542ea3e03
fix: context.get_provider_by_id issue
2025-09-22 17:22:50 +08:00
Soulter
6084abbcfe
feat: add user_id search capability in get_filtered_conversations
2025-09-21 22:45:55 +08:00
Soulter
ed19b63914
chore: bump version to v4.1.5
2025-09-21 21:47:14 +08:00
shangxue
fc76665615
feat: Satori适配器引用消息无法正确识别 ( #2686 )
...
* Update PlatformPage.vue
* Update PlatformPage.vue
* Update PlatformPage.vue
* Update satori_adapter.py
* Update satori_event.py
* Update default.py
* Update satori_adapter.py
* Update satori_adapter.py
* style: format code
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-21 21:45:35 +08:00
Soulter
3a044bb71a
fix: 修复 Telegram 下流式传输时,第一次输出的内容会被覆盖掉的问题 ( #2838 )
...
fixes : #2481
2025-09-21 21:24:47 +08:00
Soulter
9f939b4b6f
fix: 修复对话管理页面的关键词搜索功能失效的问题并优化一些 UI 样式 ( #2837 )
...
* fix: 修复对话管理页面的关键词搜索功能失效的问题并优化一些 UI 样式
fixes : #2782
* style: format code
* fix: remove debug print statements from conversation retrieval methods
2025-09-21 20:55:15 +08:00
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
1770556d56
fix: 修复工具调用时的 content 内容在重新加载后没有显示在 webchat 的问题 ( #2727 )
2025-09-12 13:05:33 +08:00
Soulter
888fb84aee
fix: 修复 WebChat 下,Agent 长时任务时,SSE 连接自动断开的问题
2025-09-12 13:04:27 +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