From 03bb4bcda63a208c7304d754d0763295ee051d17 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 22 Jun 2024 13:47:57 -0700 Subject: [PATCH] refac: tool specs --- backend/utils/tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/utils/tools.py b/backend/utils/tools.py index 5846ed4bd..c1c41ed37 100644 --- a/backend/utils/tools.py +++ b/backend/utils/tools.py @@ -67,6 +67,7 @@ def get_tools_specs(tools) -> List[dict]: function ).parameters.items() if param.default is param.empty + and not (name.startswith("__") and name.endswith("__")) ], }, }