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]

chore(xai): drop explanatory comment from responses bridge check

yassin5e0629793ec2
diff --git a/litellm/main.py b/litellm/main.py
index 02dbd0650eb..8b64c29d8c4 100644
--- a/litellm/main.py
+++ b/litellm/main.py
@@ -1080,7 +1080,6 @@ def responses_api_bridge_check(
mode = "responses"
model_info["mode"] = mode
- # xAI retired Live Search on /v1/chat/completions (410), so web search only works on /v1/responses
if web_search_options is not None and custom_llm_provider == "xai":
model_info["mode"] = "responses"
model = model.replace("responses/", "")