Skip to content

Commit

Permalink
Update pydantic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WrRan authored Dec 21, 2024
1 parent 395683d commit d8dd564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/utils/pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _create_subset_model_v2(
fn_description: Optional[str] = None,
) -> type[pydantic.BaseModel]:
"""Create a pydantic model with a subset of the model fields."""
from pydantic import ConfigDict, create_model
from pydantic import create_model
from pydantic.fields import FieldInfo

descriptions_ = descriptions or {}
Expand Down

0 comments on commit d8dd564

Please sign in to comment.