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(router.py): fix types

Krrish Dholakia6180c52cfe28
diff --git a/litellm/types/router.py b/litellm/types/router.py
index cadc454105b..dda6968f098 100644
--- a/litellm/types/router.py
+++ b/litellm/types/router.py
@@ -143,7 +143,7 @@ class GenericLiteLLMParams(BaseModel):
## VERTEX AI ##
vertex_project: Optional[str] = None
vertex_location: Optional[str] = None
- vertex_credentials: Optional[Union[str, dict]] = None
+ vertex_credentials: Optional[str] = None
## AWS BEDROCK / SAGEMAKER ##
aws_access_key_id: Optional[str] = None
aws_secret_access_key: Optional[str] = None