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]

add type annotation for litellm.api_base (#7980) (#7994)

Krish Dholakiac2fa213ae238
diff --git a/litellm/__init__.py b/litellm/__init__.py
index 462dd07a8f8..c0c2ee45be4 100644
--- a/litellm/__init__.py
+++ b/litellm/__init__.py
@@ -402,7 +402,7 @@ def identify(event_details):
####### ADDITIONAL PARAMS ################### configurable params if you use proxy models like Helicone, map spend to org id, etc.
-api_base = None
+api_base: Optional[str] = None
headers = None
api_version = None
organization = None