MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / FakeOpenAIModule

Class FakeOpenAIModule

tests/test_providers.py:187–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 chat = FakeChat()
186
187 class FakeOpenAIModule:
188 @staticmethod
189 def OpenAI(**_kwargs):
190 return FakeClient()
191
192 monkeypatch.setitem(sys.modules, "openai", FakeOpenAIModule)
193 monkeypatch.delenv("OPENAI_REASONING_EFFORT", raising=False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected