mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(types/router.py): fix arbitrary_types_allowed flag
This commit is contained in:
parent
e5a1050e8d
commit
b984fba73f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def get_model_config(arbitrary_types_allowed: bool = False) -> ConfigDict:
|
|||
else:
|
||||
from pydantic import Extra
|
||||
|
||||
model_config = ConfigDict(extra=Extra.allow) # type: ignore
|
||||
model_config = ConfigDict(extra=Extra.allow, arbitrary_types_allowed=arbitrary_types_allowed) # type: ignore
|
||||
|
||||
return model_config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue