mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(main.py): fix linting errors
This commit is contained in:
parent
1d635aff08
commit
548933d0bb
1 changed files with 5 additions and 5 deletions
|
@ -83,11 +83,11 @@ class LiteLLM:
|
||||||
|
|
||||||
def __init__(self, *,
|
def __init__(self, *,
|
||||||
api_key=None,
|
api_key=None,
|
||||||
organization: str | None = None,
|
organization: Optional[str] = None,
|
||||||
base_url: str | None = None,
|
base_url: Optional[str]= None,
|
||||||
timeout: Union[float, None] = 600,
|
timeout: Optional[float] = 600,
|
||||||
max_retries: int | None = litellm.num_retries,
|
max_retries: Optional[int] = litellm.num_retries,
|
||||||
default_headers: Mapping[str, str] | None = None,):
|
default_headers: Optional[Mapping[str, str]] = None,):
|
||||||
self.params = locals()
|
self.params = locals()
|
||||||
self.chat = Chat(self.params)
|
self.chat = Chat(self.params)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue