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]

fix langsmith tenacity

Ishaan Jaffd84fa05161ee
diff --git a/litellm/integrations/langsmith.py b/litellm/integrations/langsmith.py
index 7a29bbc2c3f..505f1ba78d3 100644
--- a/litellm/integrations/langsmith.py
+++ b/litellm/integrations/langsmith.py
@@ -14,12 +14,6 @@ import dotenv # type: ignore
import httpx
import requests # type: ignore
from pydantic import BaseModel # type: ignore
-from tenacity import (
- retry,
- retry_if_exception_type,
- stop_after_attempt,
- wait_exponential,
-)
import litellm
from litellm._logging import verbose_logger
@@ -303,11 +297,6 @@ class LangsmithLogger(CustomLogger):
self.log_queue.clear()
self.last_flush_time = time.time()
- @retry(
- stop=stop_after_attempt(3),
- wait=wait_exponential(multiplier=1, min=4, max=10),
- retry=retry_if_exception_type((httpx.HTTPStatusError, Exception)),
- )
async def _async_send_batch(self):
"""
sends runs to /batch endpoint