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
Code Quality Improvement - move `aleph_alpha` to deprecated_providers (#7168)
Ishaan Jaff400eb28a91b9
diff --git a/litellm/__init__.py b/litellm/__init__.pyindex c53fddedf8d..37c9f22b57e 100644--- a/litellm/__init__.py+++ b/litellm/__init__.py@@ -1083,7 +1083,7 @@ from .llms.deprecated_providers.palm import (PalmConfig,) # here to prevent breaking changesfrom .llms.nlp_cloud.chat.handler import NLPCloudConfig-from .llms.aleph_alpha import AlephAlphaConfig+from .llms.deprecated_providers.aleph_alpha import AlephAlphaConfigfrom .llms.petals import PetalsConfigfrom .llms.vertex_ai.gemini.vertex_and_google_ai_studio_gemini import (VertexGeminiConfig,diff --git a/litellm/llms/aleph_alpha.py b/litellm/llms/deprecated_providers/aleph_alpha.pysimilarity index 100%rename from litellm/llms/aleph_alpha.pyrename to litellm/llms/deprecated_providers/aleph_alpha.pydiff --git a/litellm/main.py b/litellm/main.pyindex 43158331d3c..458018791cb 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -83,7 +83,7 @@ from litellm.utils import (from ._logging import verbose_loggerfrom .caching.caching import disable_cache, enable_cache, update_cachefrom .litellm_core_utils.streaming_chunk_builder_utils import ChunkProcessor-from .llms import aleph_alpha, baseten, maritalk, ollama_chat, petals+from .llms import baseten, maritalk, ollama_chat, petalsfrom .llms.anthropic.chat import AnthropicChatCompletionfrom .llms.azure.audio_transcriptions import AzureAudioTranscriptionfrom .llms.azure.azure import AzureChatCompletion, _check_dynamic_azure_params@@ -98,7 +98,7 @@ from .llms.custom_httpx.llm_http_handler import BaseLLMHTTPHandlerfrom .llms.custom_llm import CustomLLM, custom_chat_llm_routerfrom .llms.databricks.chat.handler import DatabricksChatCompletionfrom .llms.databricks.embed.handler import DatabricksEmbeddingHandler-from .llms.deprecated_providers import palm+from .llms.deprecated_providers import palm, aleph_alphafrom .llms.groq.chat.handler import GroqChatCompletionfrom .llms.huggingface.chat.handler import Huggingfacefrom .llms.nlp_cloud.chat.handler import completion as nlp_cloud_chat_completion