mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: __user__ param
This commit is contained in:
@@ -57,7 +57,7 @@ def get_tools_specs(tools) -> List[dict]:
|
||||
for param_name, param_annotation in get_type_hints(
|
||||
function
|
||||
).items()
|
||||
if param_name != "return"
|
||||
if param_name != "return" and param_name != "__user__"
|
||||
},
|
||||
"required": [
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user