mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
Fix Codex CLI responses websocket warmup and routing
This commit is contained in:
parent
d1df4e838b
commit
af5c2581d0
1 changed files with 3 additions and 1 deletions
|
|
@ -208,7 +208,9 @@ async def user_api_key_auth_websocket(websocket: WebSocket):
|
|||
model = query_params.get("model")
|
||||
|
||||
async def return_body():
|
||||
return _realtime_request_body(model)
|
||||
if model:
|
||||
return _realtime_request_body(model)
|
||||
return b"{}"
|
||||
|
||||
request.body = return_body # type: ignore
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue