Spaces:
Build error

VibecoderMcSwaggins commited on
Commit
95d2e29
·
1 Parent(s): d7e5abb

fix(tests): resolve mypy divergence and test failures

Browse files

- Add pydantic-ai to pre-commit mypy dependencies to fix divergence
between local mypy and CI (both now recognize Agent overloads)
- Fix JudgeHandler tests to mock get_model() which instantiates
OpenAIModel at import time (requires API key)

3 files changed +17 -4
Files changed (3)
.pre-commit-config.yaml+1
src/agent_factory/judges.py+1-1
tests/unit/agent_factory/test_judges.py+15-3