mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(types/router.py): fix python3.8 typing issue
This commit is contained in:
parent
b984fba73f
commit
ad7e289802
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class GenericLiteLLMParams(BaseModel):
|
|||
max_retries = int(max_retries) # cast to int
|
||||
super().__init__(max_retries=max_retries, **args, **params)
|
||||
|
||||
model_config = get_model_config()
|
||||
model_config = get_model_config(arbitrary_types_allowed=True)
|
||||
if pydantic_version.startswith("1"):
|
||||
# pydantic v2 warns about using a Config class.
|
||||
# But without this, pydantic v1 will raise an error:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue