mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: tool specs
This commit is contained in:
@@ -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