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
b78fe3822a
perf: 完善对 rerank model 的可用性检测
2025-09-04 15:46:23 +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
Soulter
ba2ee1c0aa
fix: 初次下载 webui 构建文件时下载指定版本而非 latest
2025-09-04 13:27:55 +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
Soulter
45773d38ed
📦 release: bump verstion to v4.0.0-beta.2
2025-09-03 00:32:49 +08:00
Soulter
1e14fba81a
📦 release: bump verstion to v4.0.0-beta.1
2025-09-02 23:27:55 +08:00
Soulter
8f4625f53b
Merge remote-tracking branch 'origin/master' into releases/4.0.0
2025-08-31 20:37:53 +08:00
Soulter
1e5f243edb
📦 release: v3.5.26
2025-08-31 20:25:05 +08:00
Soulter
b1e4bff3ec
feat: 支持升级的同时更新到指定版本的 WebUI
2025-08-31 19:55:46 +08:00
Soulter
d2d5ef1c5c
feat: add custom T2I template editor ( #2581 )
2025-08-31 11:11:55 +08:00
RC-CHN
98d8eaee02
feat: 添加 no_proxy 配置支持以优化代理设置 ( #2564 )
2025-08-26 21:08:46 +08:00
ZvZPvz
10b9228060
feat: 调用 deepseek-reasoner 时自动移除 tools ( #2531 )
...
* 调用DeepSeek为思考模式时自动移除tools
* Update astrbot/core/provider/sources/openai_source.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update openai_source.py
* Update openai_source.py
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-08-26 20:44:56 +08:00
xiewoc
5872f1e017
feat: 支持官方 QQ 接口发送语音 ( #2525 )
...
* Update dingtalk_event.py
* Add files via upload
* Add files via upload
* Update qqofficial_platform_adapter.py
* Add files via upload
* chore: clean comments
* chore: clean code
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-08-26 20:40:59 +08:00
Soulter
5073f21002
bugfixes
2025-08-24 23:40:17 +08:00
Soulter
69aaf09ac8
chore: 修复当自动更新 webchat title 时,history 被重置的问题
2025-08-24 00:23:08 +08:00
Soulter
cfd05a8d17
chore: clean code
2025-08-23 21:46:59 +08:00
Raven95676
29845fcc4c
feat: Gemini添加对LLMResponse的raw_completion支持
2025-08-23 14:14:25 +08:00
Soulter
e204b180a8
Improve: 扩大配置文件生效范围的自定义程度到会话粒度 ( #2532 )
...
* feat: 扩大配置文件生效范围的自定义程度
* perf: 冲突检测
* refactor: simplify config form validation and improve conflict message clarity
2025-08-22 19:31:55 +08:00
Soulter
563972fd29
fix: bugfixes
2025-08-22 17:41:06 +08:00
AkkoYK
cbe94b84fc
feat: 为 FishAudio TTS 添加可选的 reference_id 直接指定功能 ( #2513 )
...
* 移除TTS提供商:FishAudio TTS的角色名称查询机制,改为直接使用参考模型ID
/// 修改内容 ///
- 移除复杂的角色查询逻辑
删除了 get_reference_id_by_character 方法
移除了通过角色名称搜索模型ID的API调用逻辑
- 简化配置字段
将 fishaudio-tts-character 字段替换为 fishaudio-tts-reference-id
设置默认值为可莉的模型ID:626bb6d3f3364c9cbc3aa6a67300a664
- 优化代码结构
直接在初始化时获取reference_id
简化请求生成逻辑,直接使用配置的模型ID
/// 修改原因 ///
避免同名冲突:不同模型可能使用相同的角色名称,导致获取错误的模型
提高性能:移除了额外的API查询步骤,减少延迟
增强可靠性:用户直接指定准确的模型ID,避免搜索失败的情况
简化维护:减少了代码复杂度,降低维护成本
/// 新的使用方式 ///
用户需要从 FishAudio 模型的详情页面/URL 中获取具体的模型ID(如 626bb6d3f3364c9cbc3aa6a67300a664),并在配置中直接填入 fishaudio-tts-reference-id 字段。
这个修改使得FishAudio TTS的配置更加直观和可靠,同时提升了系统的整体性能。
* Refactor: 添加FishAudio TTS reference_id格式验证
添加ID格式验证逻辑,防止无效的reference_id调用API失败。
验证32位十六进制格式并提供详细错误提示。
* Feat: 添加FishAudio TTS可选reference_id配置实现向前兼容
新增可选的reference_id字段,优先使用直接ID,未配置时回退到角色名称查询。
保持完全向前兼容,现有配置无需修改。
2025-08-22 16:55:07 +08:00
Soulter
aa6f73574d
feat: 多 t2i 服务的随机负载均衡 ( #2529 )
2025-08-22 16:43:59 +08:00
Soulter
2171372246
feat: llm_tool 装饰器返回值支持返回 mcp 库中 tool 的返回值类型(mcp.type.CallToolResult) ( #2507 )
2025-08-20 15:33:46 +08:00
Soulter
d2df4d0cce
Feature: 支持在配置文件配置可用的插件组 ( #2505 )
...
* feat: 增加可用插件集合配置项
* remove: 旧版平台可用性配置
已经基于多配置文件实现。
* feat: 应用配置文件插件可用性配置
* perf: hoist if from if
2025-08-20 15:25:41 +08:00
Soulter
1a84ebbb1e
fix: remove debug print statement for reranked results in FaissVecDB
2025-08-19 17:57:16 +08:00
Soulter
c9c0352369
feat: 知识库支持配置重排序模型
2025-08-19 17:51:01 +08:00
Soulter
9903b028a3
Feature: 支持配置重排序模型(vLLM API 格式)用于 score 任务 ( #2496 )
...
* feat: 支持添加重排序模型(vLLM API 格式)用于 score 任务
* fix: update rerank API base URL to use localhost
2025-08-19 16:15:31 +08:00
Soulter
49def5d883
📦 release: v3.5.25
2025-08-19 01:32:24 +08:00
Soulter
fbc4f8527b
Merge remote-tracking branch 'origin/master' into releases/4.0.0
2025-08-19 00:53:36 +08:00
Soulter
90cb5a1951
fix: 当返回文本为空并且存在工具调用时错误地被终止事件,导致工具调用结果未被返回 ( #2491 )
...
fixes : #2448 #2379
2025-08-19 00:52:13 +08:00
Soulter
ac71d9f034
perf: 使用 run_coroutine_threadsafe
...
Co-authored-by: Raven95676 <raven95676@gmail.com >
2025-08-18 19:32:35 +08:00
Soulter
64bcbc9fc0
refactor: 重构 SharedPreference 类并采用数据库存储替换 json 存储 ( #2482 )
2025-08-18 19:12:26 +08:00
Soulter
9c6d66093f
feat: 增加工具使用模型能力选项
2025-08-18 10:37:10 +08:00
Soulter
b2e39b9701
fix: 修复迁移对话时的一些问题
2025-08-17 23:44:08 +08:00
Soulter
e95ad4049b
feat: 添加 WebUI 迁移助手以及相关迁移方法 ( #2477 )
2025-08-17 23:24:30 +08:00
Soulter
1df49d1d6f
refactor: 重构 Function Tool 管理并初步引入 Multi Agent 及 Agent Handsoff 机制 ( #2454 )
...
* stage
* refactor: 重构 Function Tool 管理并引入 multi agent handsoff 机制
- Updated `star_request.py` to use the global `call_handler` instead of context-specific calls.
- Modified `entities.py` to remove the dependency on `FunctionToolManager` and streamline the function tool handling.
- Refactored `func_tool_manager.py` to simplify the `FunctionTool` class and its methods, removing deprecated code and enhancing clarity.
- Adjusted `provider.py` to align with the new function tool structure, removing unnecessary type unions.
- Enhanced `star_handler.py` to support agent registration and tool association, introducing `RegisteringAgent` for better encapsulation.
- Updated `star_manager.py` to handle tool registration for agents, ensuring proper binding of handlers.
- Revised `main.py` in the web searcher package to utilize the new agent registration system for web search tools.
* chore: websearch
* perf: 减少嵌套
* chore: 移除未使用的 mcp 导入
2025-08-17 10:57:25 +08:00
Junhua Don
b71000e2f3
fix: 修复无法清空 http_proxy 代理的问题 ( #2434 )
...
* fix: 修复无法清空http_proxy代理的问题
* perf: 将“127.0.0.1”和“::1”添加到“no_proxy”以确保所有本地流量绕过代理。
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-08-17 10:49:23 +08:00
Soulter
47e6ed455e
Feature: 支持在 WebUI 配置文件页中配置默认知识库 ( #2437 )
...
* feat: 支持配置默认知识库
* chore: clean code
2025-08-15 12:40:46 +08:00