From b5e67f3df83658e81c6953d0b40794f83b74cb10 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 4 Apr 2024 15:08:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=86=85=E5=AE=B9=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=97=B6=E9=94=99=E8=AF=AF=E5=9C=B0=E4=BC=A0?= =?UTF-8?q?=E9=80=92=E4=BA=86RuntimeContainer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/provider/tools/toolmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/tools/toolmgr.py b/pkg/provider/tools/toolmgr.py index 616de713..d233b5e3 100644 --- a/pkg/provider/tools/toolmgr.py +++ b/pkg/provider/tools/toolmgr.py @@ -35,7 +35,7 @@ class ToolManager: for plugin in self.ap.plugin_mgr.plugins: for function in plugin.content_functions: if function.name == name: - return function, plugin + return function, plugin.plugin_inst return None, None async def get_all_functions(self) -> list[entities.LLMFunction]: