mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
refactor: fixing linting issues
This commit is contained in:
parent
753c722c9f
commit
4b74ddcb17
25 changed files with 223 additions and 133 deletions
|
@ -1,9 +1,10 @@
|
|||
## This is a template base class to be used for adding new LLM providers via API calls
|
||||
import litellm
|
||||
import httpx, certifi, ssl
|
||||
from typing import Optional
|
||||
|
||||
class BaseLLM:
|
||||
_client_session = None
|
||||
_client_session: Optional[httpx.Client] = None
|
||||
def create_client_session(self):
|
||||
if litellm.client_session:
|
||||
_client_session = litellm.client_session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue