mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Update model config in embedding.py
This commit is contained in:
parent
64f4038520
commit
5945bb5ed2
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from typing import List, Optional, Union
|
||||
|
||||
from pydantic import BaseModel, validator
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class EmbeddingRequest(BaseModel):
|
||||
|
|
@ -18,6 +18,4 @@ class EmbeddingRequest(BaseModel):
|
|||
litellm_logging_obj: Optional[dict] = None
|
||||
logger_fn: Optional[str] = None
|
||||
|
||||
class Config:
|
||||
# allow kwargs
|
||||
extra = "allow"
|
||||
model_config: ConfigDict = ConfigDict(extra="allow")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue