mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
(fix) APIError set body=None
This commit is contained in:
parent
72755125fc
commit
30d52a26db
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue