Compare commits

...

2 Commits

Author SHA1 Message Date
Junyan Qin
59211191a4 chore: release v3.4.0.2 2024-11-23 00:23:47 +08:00
Junyan Qin
a3ca7e82c7 hotfix: 调用工具时bug 2024-11-23 00:23:08 +08:00
2 changed files with 3 additions and 4 deletions

View File

@@ -118,10 +118,9 @@ class ToolManager:
traceback.print_exc()
return f"error occurred when executing function {name}: {e}"
finally:
plugin = None
for p in self.ap.plugin_mgr.plugins:
for p in self.ap.plugin_mgr.plugins():
if function in p.content_functions:
plugin = p
break
@@ -137,4 +136,4 @@ class ToolManager:
},
function_name=function.name,
function_description=function.description,
)
)

View File

@@ -1,4 +1,4 @@
semantic_version = "v3.4.0.1"
semantic_version = "v3.4.0.2"
debug_mode = False