mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix: PydanticDeprecatedSince20: Support for class-based config is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. (#9372)
This commit is contained in:
parent
a816d64bcf
commit
0db5c991d4
1 changed files with 1 additions and 2 deletions
|
|
@ -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 fields
|
||||
|
||||
|
||||
AllEmbeddingInputValues = Union[str, List[str], List[int], List[List[int]]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue