This commit is contained in:
Elijas Dapšauskas 2025-04-24 00:57:37 -07:00 committed by GitHub
commit 6fc18b7e42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -874,8 +874,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]]]