forked from phoenix/litellm-mirror
use build
This commit is contained in:
parent
f67da1a340
commit
5d5b33412d
3 changed files with 7 additions and 4 deletions
|
@ -50,8 +50,10 @@ jobs:
|
||||||
pip install wheel
|
pip install wheel
|
||||||
pip install --upgrade twine setuptools
|
pip install --upgrade twine setuptools
|
||||||
rm -rf build dist
|
rm -rf build dist
|
||||||
|
|
||||||
echo "Building package"
|
echo "Building package"
|
||||||
python setup.py sdist bdist_wheel
|
python -m build
|
||||||
|
|
||||||
echo "Twine upload to dist"
|
echo "Twine upload to dist"
|
||||||
echo "Contents of dist directory:"
|
echo "Contents of dist directory:"
|
||||||
ls dist/
|
ls dist/
|
||||||
|
|
|
@ -18,6 +18,7 @@ from tenacity import (
|
||||||
dotenv.load_dotenv() # Loading env variables using dotenv
|
dotenv.load_dotenv() # Loading env variables using dotenv
|
||||||
|
|
||||||
# TODO move this to utils.py
|
# TODO move this to utils.py
|
||||||
|
# TODO add translations
|
||||||
def get_optional_params(
|
def get_optional_params(
|
||||||
# 12 optional params
|
# 12 optional params
|
||||||
functions = [],
|
functions = [],
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "litellm"
|
name = "litellm"
|
||||||
version = "0.1.212"
|
version = "0.1.237"
|
||||||
description = "Library to easily interface with LLM API providers"
|
description = "Library to easily interface with LLM API providers"
|
||||||
authors = ["BerriAI"]
|
authors = ["BerriAI"]
|
||||||
license = "MIT License"
|
license = "MIT License"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.9"
|
python = "^3.8"
|
||||||
openai = {extras = ["datalib"], version = "^0.27.8"}
|
openai = {extras = ["datalib"], version = "^0.27.8"}
|
||||||
cohere = "^4.18.0"
|
cohere = "^4.18.0"
|
||||||
pytest = "^7.4.0"
|
pytest = "^7.4.0"
|
||||||
anthropic = "^0.3.7"
|
anthropic = "^0.3.7"
|
||||||
replicate = "^0.10.0"
|
replicate = "^0.10.0"
|
||||||
python-dotenv = "^1.0.0"
|
python-dotenv = "^1.0.0"
|
||||||
|
tenacity = "^8.0.1"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue