mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
refactor(llm.py): fixes linting issues
This commit is contained in:
parent
0f26458fcf
commit
e34e6429a7
2 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue