fix: arena model selected model id
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user