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

Class FakeCompletions

tests/test_providers.py:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 usage = FakeUsage()
172
173 class FakeCompletions:
174 @staticmethod
175 def create(**kwargs):
176 calls.append(dict(kwargs))
177 if kwargs.get("reasoning_effort") == "max":
178 raise ValueError("unsupported parameter: reasoning_effort")
179 return FakeResponse()
180
181 class FakeChat:
182 completions = FakeCompletions()

Callers 1

FakeChatClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected