mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
fix: arena model selected model id
This commit is contained in:
parent
f23eb2a31c
commit
d7363fd65f
1 changed files with 6 additions and 0 deletions
|
|
@ -1906,6 +1906,12 @@ async def process_chat_response(
|
||||||
"selectedModelId": model_id,
|
"selectedModelId": model_id,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
await event_emitter(
|
||||||
|
{
|
||||||
|
"type": "chat:completion",
|
||||||
|
"data": data,
|
||||||
|
}
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
choices = data.get("choices", [])
|
choices = data.get("choices", [])
|
||||||
if not choices:
|
if not choices:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue