Spaces:
Build error

VibecoderMcSwaggins commited on
Commit
7323f55
·
1 Parent(s): 2ff16a3

fix: mock all agent creation in _build_workflow test

Browse files

The test calls _build_workflow() which creates agents internally.
These agents need OpenAIChatClient which requires OPENAI_API_KEY.
Mock all agent creation functions to make test hermetic.

1 file changed +16 -1
tests/unit/test_magentic_fix.py+16-1