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
fix: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. (#9372)
Elijas Dapšauskas0db5c991d43f
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.pyindex bf21bc1ed78..8e79117f24b 100644--- a/litellm/types/llms/openai.py+++ b/litellm/types/llms/openai.py@@ -876,8 +876,7 @@ class FineTuningJobCreate(BaseModel):class LiteLLMFineTuningJobCreate(FineTuningJobCreate):custom_llm_provider: Literal["openai", "azure", "vertex_ai"]- class Config:- extra = "allow" # This allows the model to accept additional fields+ model_config = {"extra": "allow"} # This allows the model to accept additional fieldsAllEmbeddingInputValues = Union[str, List[str], List[int], List[List[int]]]