mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(openai.py): fix linting errors
This commit is contained in:
parent
d090562dc1
commit
a575ff867f
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class OpenAIChatCompletion(BaseLLM):
|
|||
timeout=litellm.request_timeout
|
||||
)
|
||||
if response.status_code != 200:
|
||||
raise OpenAIError(status_code=response.status_code, message=response.text, request=response.request, response=response)
|
||||
raise OpenAIError(status_code=response.status_code, message=response.text)
|
||||
|
||||
## RESPONSE OBJECT
|
||||
return convert_to_model_response_object(response_object=response.json(), model_response_object=model_response)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue