Skip to content

Commit 1b5fcac

Browse files
committed
chore(mistral): disable model_fields deprecation warning
Disable the deprecation warning for model_fields in Mistral.
1 parent bc71b97 commit 1b5fcac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ filterwarnings = [
198198
"error",
199199
# Issue with python-multipart - we don't want to bump the minimum version of starlette.
200200
"ignore::PendingDeprecationWarning:starlette",
201+
# mistralai accesses model_fields on the instance, which is deprecated in Pydantic 2.11.
202+
"ignore:Accessing the 'model_fields' attribute",
201203
# boto3
202204
"ignore::DeprecationWarning:botocore.*",
203205
"ignore::RuntimeWarning:pydantic_ai.mcp",

0 commit comments

Comments
 (0)