xiaozhi-esp32-server/main/xiaozhi-server/core/providers/tools
colorful 523915f9fe fix(plugins): 展开模块级别插件名为具体函数名
在一个 function 文件中可能注册多个 @register_function,当配置下发或
本地配置使用模块名(文件名)时,需要自动展开为具体的函数名列表。

改动内容:
- register.py: 新增 module_func_map 全局映射,在 register_function
  装饰器中自动记录模块名 → 函数名列表的映射关系
- connection.py: 处理服务端下发的插件配置时,将模块级的 plugins 配置
  复制到各具体函数名 key 下,并将模块名展开写入 Intent functions 列表
- plugin_executor.py: 新增 _expand_plugin_names() 兜底展开逻辑和
  _get_plugin_description() 双层查找方法,确保本地配置场景也能正确展开
2026-07-24 10:47:00 +08:00
..
base update:完成mcp接入点对接 2025-06-26 16:25:39 +08:00
device_iot feat: 为多个模块添加类型注解以增强代码可读性 2026-01-25 17:47:52 +08:00
device_mcp feat: 为多个模块添加类型注解以增强代码可读性 2026-01-25 17:47:52 +08:00
mcp_endpoint update:默认版本不提供设备ID敏感信息,按需开启 2025-10-28 15:02:01 +08:00
server_mcp update:超时时间更改为10秒,并且删去无用的模块导入 2025-12-22 16:38:28 +08:00
server_plugins fix(plugins): 展开模块级别插件名为具体函数名 2026-07-24 10:47:00 +08:00
__init__.py update:优化工具目录结构 2025-06-26 09:28:29 +08:00
unified_tool_handler.py update:在设备端显示工具调用信息 2026-03-16 13:11:45 +08:00
unified_tool_manager.py 优化日志级别,生产环境中INFO避免打印过多日志 2025-11-11 18:52:14 +08:00