The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: add BadRequestError to the fake openai module fixture
Teknium4eadabb8ea94
diff --git a/tests/tools/test_managed_media_gateways.py b/tests/tools/test_managed_media_gateways.pyindex d7d35e4b7b6..6dc76374d5a 100644--- a/tests/tools/test_managed_media_gateways.py+++ b/tests/tools/test_managed_media_gateways.py@@ -169,6 +169,7 @@ def _install_fake_openai_module(captured, transcription_response=None):APIError=Exception,APIConnectionError=Exception,APITimeoutError=Exception,+ BadRequestError=type("BadRequestError", (Exception,), {}),)sys.modules["openai"] = fake_module