refac: tool specs
This commit is contained in:
1 parent
2d795cffe0
commit
03bb4bcda6
1 file changed
+1
@@ -67,6 +67,7 @@ def get_tools_specs(tools) -> List[dict]:
|
|||||||
function
|
function
|
||||||
).parameters.items()
|
).parameters.items()
|
||||||
if param.default is param.empty
|
if param.default is param.empty
|
||||||
|
and not (name.startswith("__") and name.endswith("__"))
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user