mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
fe5c4b95d5
commit
ae0554224a
1 changed files with 1 additions and 1 deletions
|
|
@ -987,7 +987,7 @@ async def chat_completion(
|
|||
"files": form_data.get("files", None),
|
||||
"features": form_data.get("features", None),
|
||||
"variables": form_data.get("variables", None),
|
||||
"model": model_info,
|
||||
"model": model_info.model_dump() if model_info else model,
|
||||
"direct": model_item.get("direct", False),
|
||||
**(
|
||||
{"function_calling": "native"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue