fix(http_handler.py): correctly re-raise timeout exception

This commit is contained in:
Krrish Dholakia 2024-07-31 14:51:16 -07:00
parent 4e7d9d2bb1
commit 6202f9bbb0
6 changed files with 43 additions and 23 deletions

View file

@ -3069,6 +3069,7 @@ async def chat_completion(
type=getattr(e, "type", "None"),
param=getattr(e, "param", "None"),
code=getattr(e, "status_code", 500),
headers=getattr(e, "headers", {}),
)