diff --git a/poetry.lock b/poetry.lock index 6a2791471358..afcaa94f3264 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "aenum" @@ -3916,25 +3916,23 @@ types-tqdm = "*" [[package]] name = "litellm" -version = "1.51.1" +version = "1.52.2" description = "Library to easily interface with LLM API providers" optional = false -python-versions = "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8" -files = [ - {file = "litellm-1.51.1-py3-none-any.whl", hash = "sha256:1a389ca5b8ddd7a98d97ad229118d8323caeaaf9c1c5b79b1072edc2a18e773d"}, - {file = "litellm-1.51.1.tar.gz", hash = "sha256:ef9019bdd8bbad927e49696a300d03ea00b86721ebe7b62621c923f728e50d18"}, -] +python-versions = ">=3.8.1,<4.0, !=3.9.7" +files = [] +develop = false [package.dependencies] aiohttp = "*" click = "*" importlib-metadata = ">=6.8.0" -jinja2 = ">=3.1.2,<4.0.0" -jsonschema = ">=4.22.0,<5.0.0" -openai = ">=1.52.0" -pydantic = ">=2.0.0,<3.0.0" +jinja2 = "^3.1.2" +jsonschema = "^4.22.0" +openai = ">=1.54.0" +pydantic = "^2.0.0" python-dotenv = ">=0.2.0" -requests = ">=2.31.0,<3.0.0" +requests = "^2.31.0" tiktoken = ">=0.7.0" tokenizers = "*" @@ -3942,6 +3940,12 @@ tokenizers = "*" extra-proxy = ["azure-identity (>=1.15.0,<2.0.0)", "azure-keyvault-secrets (>=4.8.0,<5.0.0)", "google-cloud-kms (>=2.21.3,<3.0.0)", "prisma (==0.11.0)", "resend (>=0.8.0,<0.9.0)"] proxy = ["PyJWT (>=2.8.0,<3.0.0)", "apscheduler (>=3.10.4,<4.0.0)", "backoff", "cryptography (>=42.0.5,<43.0.0)", "fastapi (>=0.111.0,<0.112.0)", "fastapi-sso (>=0.10.0,<0.11.0)", "gunicorn (>=22.0.0,<23.0.0)", "orjson (>=3.9.7,<4.0.0)", "pynacl (>=1.5.0,<2.0.0)", "python-multipart (>=0.0.9,<0.0.10)", "pyyaml (>=6.0.1,<7.0.0)", "rq", "uvicorn (>=0.22.0,<0.23.0)"] +[package.source] +type = "git" +url = "https://github.com/BerriAI/litellm.git" +reference = "73531f4815861e0aaa427de891e78c4896a356f2" +resolved_reference = "73531f4815861e0aaa427de891e78c4896a356f2" + [[package]] name = "llama-index" version = "0.10.45.post1" @@ -5597,13 +5601,13 @@ sympy = "*" [[package]] name = "openai" -version = "1.52.2" +version = "1.54.3" description = "The official Python library for the openai API" optional = false -python-versions = ">=3.7.1" +python-versions = ">=3.8" files = [ - {file = "openai-1.52.2-py3-none-any.whl", hash = "sha256:57e9e37bc407f39bb6ec3a27d7e8fb9728b2779936daa1fcf95df17d3edfaccc"}, - {file = "openai-1.52.2.tar.gz", hash = "sha256:87b7d0f69d85f5641678d414b7ee3082363647a5c66a462ed7f3ccb59582da0d"}, + {file = "openai-1.54.3-py3-none-any.whl", hash = "sha256:f18dbaf09c50d70c4185b892a2a553f80681d1d866323a2da7f7be2f688615d5"}, + {file = "openai-1.54.3.tar.gz", hash = "sha256:7511b74eeb894ac0b0253dc71f087a15d2e4d71d22d0088767205143d880cca6"}, ] [package.dependencies] @@ -10127,4 +10131,4 @@ testing = ["coverage[toml]", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "2a4f90bb5c7f7d82160f57d71af7e81c7acef69426d0e1e46e1da09972a6215f" +content-hash = "49c2a78be75469fad60c91826c38366c8252cd2d7e28c56311c0b36c1bcada9f" diff --git a/pyproject.toml b/pyproject.toml index 5f05b4da96ed..11a55d47d8f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ packages = [ python = "^3.12" datasets = "*" pandas = "*" -litellm = "^1.51.1" +litellm = { git = "https://github.com/BerriAI/litellm.git", rev = "73531f4815861e0aaa427de891e78c4896a356f2" } google-generativeai = "*" # To use litellm with Gemini Pro API google-api-python-client = "*" # For Google Sheets API google-auth-httplib2 = "*" # For Google Sheets authentication