The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
bump openai to 1.45.0
Ishaan Jaffded40e4d4197
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex 53a3e541f34..e301bd96e1f 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -49,7 +49,7 @@ jobs:pip install opentelemetry-api==1.25.0pip install opentelemetry-sdk==1.25.0pip install opentelemetry-exporter-otlp==1.25.0- pip install openai==1.40.0+ pip install openai==1.45.0pip install prisma==0.11.0pip install "detect_secrets==1.5.0"pip install "httpx==0.24.1"@@ -313,7 +313,7 @@ jobs:pip install "aiodynamo==23.10.1"pip install "asyncio==3.4.3"pip install "PyGithub==1.59.1"- pip install "openai==1.40.0"+ pip install "openai==1.45.0"# Run pytest and generate JUnit XML report- run:name: Build Docker image@@ -406,7 +406,7 @@ jobs:pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"pip install aiohttp- pip install "openai==1.40.0"+ pip install "openai==1.45.0"python -m pip install --upgrade pippip install "pydantic==2.7.1"pip install "pytest==7.3.1"@@ -513,7 +513,7 @@ jobs:pip install "pytest-asyncio==0.21.1"pip install "google-cloud-aiplatform==1.43.0"pip install aiohttp- pip install "openai==1.40.0"+ pip install "openai==1.45.0"python -m pip install --upgrade pippip install "pydantic==2.7.1"pip install "pytest==7.3.1"diff --git a/poetry.lock b/poetry.lockindex 7b734cfb30f..1380e652b48 100644--- a/poetry.lock+++ b/poetry.lock@@ -1761,13 +1761,13 @@ signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"][[package]]name = "openai"-version = "1.40.1"+version = "1.45.0"description = "The official Python library for the openai API"optional = falsepython-versions = ">=3.7.1"files = [- {file = "openai-1.40.1-py3-none-any.whl", hash = "sha256:cf5929076c6ca31c26f1ed207e9fd19eb05404cc9104f64c9d29bb0ac0c5bcd4"},- {file = "openai-1.40.1.tar.gz", hash = "sha256:cb1294ac1f8c6a1acbb07e090698eb5ad74a7a88484e77126612a4f22579673d"},+ {file = "openai-1.45.0-py3-none-any.whl", hash = "sha256:2f1f7b7cf90f038a9f1c24f0d26c0f1790c102ec5acd07ffd70a9b7feac1ff4e"},+ {file = "openai-1.45.0.tar.gz", hash = "sha256:731207d10637335413aa3c0955f8f8df30d7636a4a0f9c381f2209d32cf8de97"},][package.dependencies]@@ -3484,4 +3484,4 @@ proxy = ["PyJWT", "apscheduler", "backoff", "cryptography", "fastapi", "fastapi-[metadata]lock-version = "2.0"python-versions = ">=3.8.1,<4.0, !=3.9.7"-content-hash = "ad04b75d2f51072f1ee86bf000a236914b30b02184dcc8b3475c14cd300219f0"+content-hash = "6795344f245df1fac99329e370f6a997bbf5010e6841c723dc5e73cf22c3885d"diff --git a/pyproject.toml b/pyproject.tomlindex a4b96c16698..19a6eda8a0a 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -17,7 +17,7 @@ documentation = "https://docs.litellm.ai"[tool.poetry.dependencies]python = ">=3.8.1,<4.0, !=3.9.7"-openai = ">=1.40.0"+openai = ">=1.45.0"python-dotenv = ">=0.2.0"tiktoken = ">=0.7.0"importlib-metadata = ">=6.8.0"diff --git a/requirements.txt b/requirements.txtindex ded2d040ca8..23b22523641 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,6 +1,6 @@# LITELLM PROXY DEPENDENCIES #anyio==4.4.0 # openai + http req.-openai==1.40.0 # openai req.+openai==1.45.0 # openai req.fastapi==0.111.0 # server depbackoff==2.2.1 # server deppyyaml==6.0.0 # server dep