Skip to content

Commit 6afbdab

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

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
@@ -194,6 +194,8 @@ filterwarnings = [
194194
"error",
195195
# Issue with python-multipart - we don't want to bump the minimum version of starlette.
196196
"ignore::PendingDeprecationWarning:starlette",
197+
# mistralai accesses model_fields on the instance, which is deprecated in Pydantic 2.11.
198+
"ignore:Accessing the 'model_fields' attribute",
197199
# boto3
198200
"ignore::DeprecationWarning:botocore.*",
199201
"ignore::RuntimeWarning:pydantic_ai.mcp",

0 commit comments

Comments
 (0)