Skip to content

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]

build(config.yml): bump anyio version

Krrish Dholakiae542475f39f2
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3cfa15c99d6..279489f74d7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -55,7 +55,7 @@ jobs:
pip install "respx==0.21.1"
pip install fastapi
pip install "gunicorn==21.2.0"
- pip install "anyio==3.7.1"
+ pip install "anyio==4.2.0"
pip install "aiodynamo==23.10.1"
pip install "asyncio==3.4.3"
pip install "apscheduler==3.10.4"
diff --git a/litellm/litellm_core_utils/asyncify.py b/litellm/litellm_core_utils/asyncify.py
index 6287263f893..1dbc08f5046 100644
--- a/litellm/litellm_core_utils/asyncify.py
+++ b/litellm/litellm_core_utils/asyncify.py
@@ -2,6 +2,7 @@ import functools
from typing import Awaitable, Callable, Optional
import anyio
+import anyio.to_thread
from anyio import to_thread
from typing_extensions import ParamSpec, TypeVar