Commit Graph

3 Commits

Author SHA1 Message Date
d328d801f4 fix: mock LLM clients in test_llm_factory to avoid API key requirement
- Add mock_chat_anthropic and mock_chat_deepseek fixtures to conftest.py
- Update test_llm_factory to use monkeypatch and mock fixtures
- Import ChatAnthropic and ChatDeepSeek in conftest.py for spec creation
- Tests now pass without requiring ANTHROPIC_API_KEY or DEEPSEEK_API_KEY
- Execution time reduced from failing after 0.12s to passing in 0.01s

This change allows factory tests to run in isolation without external
dependencies, making them consistent with the API test approach and
suitable for any development environment or CI/CD pipeline.
2026-06-10 16:16:14 -05:00
b76838ecba chore: fix tests 2026-02-24 23:12:46 -05:00
aff0a588c5 firts agent concept 2026-02-03 21:20:00 -05:00