Timothy J. Baek пре 10 месеци
родитељ
комит
03bb4bcda6
1 измењених фајлова са 1 додато и 0 уклоњено
  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("__"))
                     ],
                 },
             }