mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 07:36:00 +08:00
refac
This commit is contained in:
parent
d1a77a9110
commit
9cb1104f09
@ -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…
x
Reference in New Issue
Block a user