mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59211191a4 | ||
|
|
a3ca7e82c7 |
@@ -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,
|
||||
)
|
||||
)
|
||||
@@ -1,4 +1,4 @@
|
||||
semantic_version = "v3.4.0.1"
|
||||
semantic_version = "v3.4.0.2"
|
||||
|
||||
debug_mode = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user