mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-12 05:49:05 +02:00
refac: tool specs
This commit is contained in:
parent
2d795cffe0
commit
03bb4bcda6
@ -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("__"))
|
||||
],
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user