mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
d1a77a9110
commit
9cb1104f09
1 changed files with 0 additions and 2 deletions
|
|
@ -1053,9 +1053,7 @@ async def chat_completion(
|
|||
model_item = form_data.pop("model_item", {})
|
||||
tasks = form_data.pop("background_tasks", None)
|
||||
|
||||
# placeholder
|
||||
metadata = {}
|
||||
|
||||
try:
|
||||
if not model_item.get("direct", False):
|
||||
model_id = form_data.get("model", None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue