Commit c7daea5
committed
fix: resolve CI test failures for Anthropic strict mode
- Change strict check from truthy to explicit True comparison
- Update test expectations for Anthropic strict mode behavior
- Add mock provider to test_anthropic_strict_mode_tool_mapping
- Update inline snapshots for auto-strict mode on compatible schemas
Fixes all 16 failing test jobs across Python 3.10-3.131 parent cb75151 commit c7daea5
File tree
2 files changed
+9
-5
lines changed- pydantic_ai_slim/pydantic_ai/models
- tests/models
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
856 | | - | |
857 | | - | |
858 | | - | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
6542 | 6543 | | |
6543 | 6544 | | |
6544 | 6545 | | |
6545 | | - | |
| 6546 | + | |
| 6547 | + | |
6546 | 6548 | | |
6547 | 6549 | | |
6548 | 6550 | | |
| |||
6562 | 6564 | | |
6563 | 6565 | | |
6564 | 6566 | | |
| 6567 | + | |
6565 | 6568 | | |
6566 | 6569 | | |
6567 | | - | |
| 6570 | + | |
| 6571 | + | |
6568 | 6572 | | |
6569 | 6573 | | |
6570 | 6574 | | |
| |||
0 commit comments