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 vertex FT spec
Ishaan Jaffd364d76bd0fe
diff --git a/litellm/types/llms/vertex_ai.py b/litellm/types/llms/vertex_ai.pyindex df9696330d4..632b6e519df 100644--- a/litellm/types/llms/vertex_ai.py+++ b/litellm/types/llms/vertex_ai.py@@ -260,3 +260,26 @@ class GenerateContentResponseBody(TypedDict, total=False):candidates: Required[List[Candidates]]promptFeedback: PromptFeedbackusageMetadata: Required[UsageMetadata]+++class FineTunesupervisedTuningSpec(TypedDict, total=False):+ training_dataset_uri: str+ validation_dataset: Optional[str]+ epoch_count: Optional[int]+ learning_rate_multiplier: Optional[float]+ tuned_model_display_name: Optional[str]+ adapter_size: Optional[+ Literal[+ "ADAPTER_SIZE_UNSPECIFIED",+ "ADAPTER_SIZE_ONE",+ "ADAPTER_SIZE_FOUR",+ "ADAPTER_SIZE_EIGHT",+ "ADAPTER_SIZE_SIXTEEN",+ ]+ ]+++class FineTuneJobCreate(TypedDict, total=False):+ baseModel: str+ supervisedTuningSpec: FineTunesupervisedTuningSpec+ tunedModelDisplayName: str