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
Soulter
563972fd29
fix: bugfixes
2025-08-22 17:41:06 +08:00
Soulter
64bcbc9fc0
refactor: 重构 SharedPreference 类并采用数据库存储替换 json 存储 ( #2482 )
2025-08-18 19:12:26 +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
Soulter
b711140f26
Feature: 优化 WebSearch 的爬取网页速度并且支持使用 Tavily 作为搜索引擎 ( #2427 )
...
* feat: 优化了 websearch 的速度;支持 Tavily 作为搜索引擎
* fix: 优化日志记录格式,修复搜索结果处理中的索引和内容显示问题
2025-08-14 10:52:35 +08:00
Soulter
369eab18ab
Refactor: 重构配置文件管理,以支持更灵活的、会话粒度的(基于 umo part)配置文件隔离 ( #2328 )
...
* refactor: 重构配置文件管理,以支持更灵活的、基于 umo part 的配置文件隔离
* Refactor: 重构配置前端页面,新增数个配置项 (#2331 )
* refactor: 重构配置前端页面,新增数个配置项
* feat: 完善多配置文件结构
* perf: 系统配置入口
* fix: normal config item list not display
* fix: 修复 axios 请求中的上下文引用问题
2025-08-13 09:18:49 +08:00
Soulter
a8e7dadd39
fix: 修复访问令牌的空格问题
2025-08-04 17:26:22 +08:00
Soulter
2f8d921adf
feat: add support to sync mcp servers from ModelScope ( #2313 )
2025-08-04 17:24:07 +08:00
Soulter
b1e3018b6b
Improve: 引入全新的人格管理模式以及重构函数工具管理器 ( #2305 )
...
* feat: add persona management
* refactor: 重构函数工具管理器,引入 ToolSet,并让 Persona 支持绑定 Tools
* feat: 更新 Persona 工具选择逻辑,支持全选和指定工具的切换
* feat: 更新 BaseDatabase 中的 persona 方法返回类型,支持返回 None
2025-08-04 00:56:26 +08:00
Soulter
17d62a9af7
refactor: mcp server reload mechanism ( #2161 )
...
* refactor: mcp server reload mechanism
* fix: wait for client events
* fix: all other mcp servers are terminated when disable selected server
* fix: resolve type hinting issues in MCPClient and FuncCall methods
* perf: optimize mcp server loaders
* perf: improve MCP client connection testing
* perf: improve error message
* perf: clean code
* perf: increase default timeout for MCP connection and reset dialog message on close
---------
Co-authored-by: Raven95676 <Raven95676@gmail.com >
2025-07-20 15:53:13 +08:00
Raven95676
f86c8e8cab
perf: ensure MCP client termination in cleanup process
2025-07-17 23:17:23 +08:00
Raven95676
cb12cbdd3d
fix: managing MCP connections with AsyncExitStack
2025-07-16 23:44:51 +08:00
Soulter
343e0b54b9
feat: MCP supports Streamable HTTP transport method
...
fixes : #1637 #1342
2025-05-27 15:39:02 +08:00
Soulter
ecb70cb6f7
feat: add support for custom headers in SSE client configuration
...
fixes : #1659
2025-05-27 15:05:42 +08:00
Raven95676
c111da4681
refactor: 修改框架路径获取方式,规范化路径拼接
2025-05-06 17:30:34 +08:00
Raven95676
4d1a6994aa
fix: 保证Gemini anyOf 字段唯一
2025-05-02 10:56:05 +08:00
Raven95676
8c19b7d163
chore: clean code,format
2025-04-22 17:52:25 +08:00
Raven95676
f5024984f7
perf: 移除冗余判断
2025-04-21 00:55:20 +08:00
Raven95676
f4880fd90d
fix: 修复get_func_desc_google_genai_style未正确转换函数调用的问题
2025-04-21 00:11:31 +08:00
Soulter
bf4c2ecd33
✨ feat: MCP 支持 SSE 传输协议连接到服务器
2025-04-20 11:02:28 +08:00
Soulter
33fd6a5016
perf: 优化 MCP 服务器的日志回显
2025-04-17 13:59:10 +08:00
Soulter
709c324e18
🐛 fix: 修复 MCP 服务器配置处理逻辑,确保正确处理空 mcpServers 情况并优化代码可读性
2025-04-12 18:19:06 +08:00
Soulter
b75d24d92c
🎈 perf: 适配 MCP 配置文件带 mcpServers 的情况(Cursor)
...
🐛 fix: 关闭/删除 MCP 服务器后 Tools 没有清除的问题
2025-04-12 17:56:23 +08:00
Soulter
bced9ffff9
🐛 fix: 修复zhipu工具调用问题
2025-04-12 15:24:37 +08:00
Soulter
7231403e16
🐛 fix: xai missing field parameters
2025-04-12 09:47:11 +08:00
Soulter
a4f212a18f
🐛 fix: 修复使用 OneAPI + Gemini(openai) 传递空参数函数工具时可能报错的问题
...
fixes : #1060
2025-04-11 00:20:08 +08:00
Soulter
8047f82bfd
🎈 perf: 优化删除插件目录的逻辑,抛出异常细节;完善 mcp 未安装时的提示
2025-03-24 23:07:56 +08:00
Soulter
1aac8d8041
✨ feat: 适配完整的 function-calling 流程
2025-03-23 22:21:47 +08:00
Soulter
873b7715f4
🎈 perf: 优化 MCP Client 异步 Event 管理
2025-03-23 16:51:28 +08:00
pre-commit-ci[bot]
98e7ed6920
🎈 auto fixes by pre-commit hooks
2025-03-23 08:34:05 +00:00
Soulter
046f5e645e
✨ feat: 完善 MCP 管理和实现 WebUI MCP 相关的页面
2025-03-23 16:33:44 +08:00
pre-commit-ci[bot]
9f8e960ebe
🎈 auto fixes by pre-commit hooks
2025-03-23 03:31:20 +00:00
Soulter
4179b0be0a
chore: 优化注解格式和 requirements.txt
2025-03-23 11:31:10 +08:00
Alero
8585cd8e21
修复codecheck
2025-03-15 20:26:17 +08:00
Alero
9fa2a7eeea
修复codecheck
2025-03-15 20:24:36 +08:00
pre-commit-ci[bot]
2d1f74228d
🎈 auto fixes by pre-commit hooks
2025-03-15 12:10:17 +00:00
Alero
3d6f7aa0e1
修复codecheck
2025-03-15 20:09:49 +08:00
pre-commit-ci[bot]
3dea60366a
🎈 auto fixes by pre-commit hooks
2025-03-15 11:54:09 +00:00
Alero
d4d9a1df4c
feat:新增MCP服务支持并优化工具调用逻辑
...
引入MCP客户端支持,增加mcp_server.json配置样例,完善工具描述生成及调用逻辑以支持MCP服务工具功能。同时调整相关逻辑以区分本地工具与MCP工具的调用方式,提升扩展性和灵活性。
2025-03-15 19:47:06 +08:00
邹永赫
ef86838f62
修改注册函数工具时的打印信息
2025-03-15 12:15:05 +09:00
pre-commit-ci[bot]
60e58b4f5f
🎈 auto fixes by pre-commit hooks
2025-03-13 09:52:03 +00:00
Soulter
681940d466
🐛 fix: 修复重载插件时函数工具可能多次家在的问题
2025-03-13 17:02:58 +08:00
Soulter
7eea4615b6
perf: 优化了日志显示
2025-03-08 15:22:22 +08:00
Soulter
49bba9bf98
style: format codes
2025-03-03 13:30:55 +08:00
Rt39
96e7a93886
✨ feat: 添加对Claude API的支持
2025-02-20 19:59:16 -05:00
Soulter
0d7ddb149e
fix: 修复请求 gemini 推理模型出现 candidates 错误的问题 #333
2025-02-04 00:30:23 +08:00
Camreishi
618eabfe5c
fix: 修复Gemini函数调用时,parameters为空对象导致的错误
...
Closes #288
2025-02-02 13:25:08 +08:00
Soulter
b124bd0d0e
feat: 支持通过 Google GenAI 访问 Gemini 模型
2025-01-09 14:05:48 +08:00
Soulter
8dc8c5b5dc
feat: 支持对插件禁用/启用
2025-01-08 22:28:20 +08:00
Soulter
6cec542402
feat: 初步接入 Dify
2025-01-07 19:56:18 +08:00