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
Add routing for google search
Sameer Kankute0275e2360128
diff --git a/litellm/types/utils.py b/litellm/types/utils.pyindex 50e4687b5a8..bc5b3735582 100644--- a/litellm/types/utils.py+++ b/litellm/types/utils.py@@ -3236,6 +3236,7 @@ class SearchProviders(str, Enum):SEARXNG = "searxng"LINKUP = "linkup"DUCKDUCKGO = "duckduckgo"+ SEARCHAPI = "searchapi"# Create a set of all search provider values for quick lookupdiff --git a/litellm/utils.py b/litellm/utils.pyindex ad1eb7aeceb..56c3285dc6f 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -8844,6 +8844,7 @@ class ProviderConfigManager:ParallelAISearchConfig,)from litellm.llms.perplexity.search.transformation import PerplexitySearchConfig+ from litellm.llms.searchapi.search.transformation import SearchAPIConfigfrom litellm.llms.searxng.search.transformation import SearXNGSearchConfigfrom litellm.llms.tavily.search.transformation import TavilySearchConfig@@ -8859,6 +8860,7 @@ class ProviderConfigManager:SearchProviders.SEARXNG: SearXNGSearchConfig,SearchProviders.LINKUP: LinkupSearchConfig,SearchProviders.DUCKDUCKGO: DuckDuckGoSearchConfig,+ SearchProviders.SEARCHAPI: SearchAPIConfig,}config_class = PROVIDER_TO_CONFIG_MAP.get(provider, None)if config_class is None:diff --git a/tests/code_coverage_tests/enforce_llms_folder_style.py b/tests/code_coverage_tests/enforce_llms_folder_style.pyindex 7e6fd8e6fd6..b39c669308a 100644--- a/tests/code_coverage_tests/enforce_llms_folder_style.py+++ b/tests/code_coverage_tests/enforce_llms_folder_style.py@@ -17,6 +17,7 @@ SEARCH_PROVIDERS = ["searxng","linkup","duckduckgo",+ "searchapi",]ALLOWED_FILES_IN_LLMS_FOLDER = [