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 --upgrade twine setuptools
|
||||
rm -rf build dist
|
||||
|
||||
echo "Building package"
|
||||
python setup.py sdist bdist_wheel
|
||||
python -m build
|
||||
|
||||
echo "Twine upload to dist"
|
||||
echo "Contents of dist directory:"
|
||||
ls dist/
|
||||
|
|
|
@ -18,6 +18,7 @@ from tenacity import (
|
|||
dotenv.load_dotenv() # Loading env variables using dotenv
|
||||
|
||||
# TODO move this to utils.py
|
||||
# TODO add translations
|
||||
def get_optional_params(
|
||||
# 12 optional params
|
||||
functions = [],
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
[tool.poetry]
|
||||
name = "litellm"
|
||||
version = "0.1.212"
|
||||
version = "0.1.237"
|
||||
description = "Library to easily interface with LLM API providers"
|
||||
authors = ["BerriAI"]
|
||||
license = "MIT License"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
python = "^3.8"
|
||||
openai = {extras = ["datalib"], version = "^0.27.8"}
|
||||
cohere = "^4.18.0"
|
||||
pytest = "^7.4.0"
|
||||
anthropic = "^0.3.7"
|
||||
replicate = "^0.10.0"
|
||||
python-dotenv = "^1.0.0"
|
||||
|
||||
tenacity = "^8.0.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue