wangzhibo
2026-08-31 17ac2ce0ed52874616c79c910667e41e34604826
xiaozhi-esp32-server/main/xiaozhi-server/core/providers/tools/unified_tool_manager.py
@@ -43,6 +43,13 @@
            except Exception as e:
                self.logger.error(f"获取{tool_type.value}工具时出错: {e}")
        try:
            from core.app_runtime.runtime import filter_tools
            all_tools = filter_tools(self.conn, all_tools)
        except Exception as e:
            self.logger.error(f"按 App 过滤工具失败: {e}")
        self._cached_tools = all_tools
        return all_tools