mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
refactor: fixing linting issues
This commit is contained in:
parent
ae35c13015
commit
45b6f8b853
25 changed files with 223 additions and 133 deletions
|
@ -76,8 +76,8 @@ class ContextWindowExceededError(BadRequestError): # type: ignore
|
|||
self.llm_provider = llm_provider
|
||||
super().__init__(
|
||||
message=self.message,
|
||||
model=self.model,
|
||||
llm_provider=self.llm_provider,
|
||||
model=self.model, # type: ignore
|
||||
llm_provider=self.llm_provider, # type: ignore
|
||||
response=response
|
||||
) # Call the base class constructor with the parameters it needs
|
||||
|
||||
|
@ -101,7 +101,7 @@ class APIError(APIError): # type: ignore
|
|||
self.model = model
|
||||
super().__init__(
|
||||
self.message,
|
||||
request=request
|
||||
request=request # type: ignore
|
||||
)
|
||||
|
||||
# raised if an invalid request (not get, delete, put, post) is made
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue