refactor(llm.py): fixes linting issues

This commit is contained in:
Krrish Dholakia 2023-10-17 13:07:21 -07:00
parent 0f26458fcf
commit e34e6429a7
2 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@ import sys, os, platform, time, copy
import threading
import shutil, random, traceback
messages = []
messages: list = []
sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path - for litellm local dev
@ -25,9 +25,9 @@ except ImportError:
import tomli_w
try:
from .llm import litellm_completion
from .llm import litellm_completion
except ImportError as e:
from llm import litellm_completion
from llm import litellm_completion # type: ignore
import random