mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 16:24:46 +00:00
(fix) APIError set body=None
This commit is contained in:
@@ -104,7 +104,8 @@ class APIError(APIError): # type: ignore
|
||||
self.model = model
|
||||
super().__init__(
|
||||
self.message,
|
||||
request=request # type: ignore
|
||||
request=request, # type: ignore,
|
||||
body=None,
|
||||
)
|
||||
|
||||
# raised if an invalid request (not get, delete, put, post) is made
|
||||
|
||||
Reference in New Issue
Block a user