Browse Source

refac: tool specs

Timothy J. Baek 10 months ago
parent
commit
03bb4bcda6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backend/utils/tools.py

+ 1 - 0
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("__"))
                     ],
                 },
             }