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 vertex_credentials in router param

Ishaan Jaffcff705014781
diff --git a/litellm/types/router.py b/litellm/types/router.py
index 285732121c0..7fc96155422 100644
--- a/litellm/types/router.py
+++ b/litellm/types/router.py
@@ -143,6 +143,7 @@ class GenericLiteLLMParams(BaseModel):
## VERTEX AI ##
vertex_project: Optional[str] = None
vertex_location: Optional[str] = None
+ vertex_credentials: Optional[str] = None
## AWS BEDROCK / SAGEMAKER ##
aws_access_key_id: Optional[str] = None
aws_secret_access_key: Optional[str] = None
@@ -486,6 +487,11 @@ class AssistantsTypedDict(TypedDict):
litellm_params: LiteLLMParamsTypedDict
+class FineTuningConfig(BaseModel):
+
+ custom_llm_provider: Literal["azure", "openai"]
+
+
class CustomRoutingStrategyBase:
async def async_get_available_deployment(
self,