mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
fix: __tools__ param issue
This commit is contained in:
parent
0ea421ea20
commit
0e46f8091f
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ async def generate_function_chat_completion(
|
||||||
"__metadata__": metadata,
|
"__metadata__": metadata,
|
||||||
"__request__": request,
|
"__request__": request,
|
||||||
}
|
}
|
||||||
extra_params["__tools__"] = get_tools(
|
extra_params["__tools__"] = await get_tools(
|
||||||
request,
|
request,
|
||||||
tool_ids,
|
tool_ids,
|
||||||
user,
|
user,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue