forked from phoenix/litellm-mirror
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
765c382b2a
11 changed files with 260 additions and 43 deletions
|
@ -43,7 +43,7 @@ try:
|
|||
from importlib import resources
|
||||
|
||||
filename = str(resources.files(litellm).joinpath("llms/tokenizers"))
|
||||
except ImportError:
|
||||
except (ImportError, AttributeError):
|
||||
# Old way to access resources, which setuptools deprecated some time ago
|
||||
import pkg_resources # type: ignore
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue