This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-25 16:27:27 -05:00
1 parent c5b73d7184
commit 477097c2e4
2 files changed
+12 -10

No files matched your search

+6 -5
View File
@@ -150,11 +150,12 @@ async def get_tools(
)
specs = tool_server_data.get("specs", [])
function_name_filter_list = (
tool_server_connection.get("config", {})
.get("function_name_filter_list", "")
.split(",")
)
function_name_filter_list = tool_server_connection.get(
"config", {}
).get("function_name_filter_list", "")
if isinstance(function_name_filter_list, str):
function_name_filter_list = function_name_filter_list.split(",")
for spec in specs:
function_name = spec["name"]