refactor: fixing linting issues

This commit is contained in:
Krrish Dholakia 2023-11-11 18:52:28 -08:00
parent 753c722c9f
commit 4b74ddcb17
25 changed files with 223 additions and 133 deletions

View file

@ -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