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

Method create

tests/test_providers.py:175–179  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

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 8

generateMethod · 0.45
stream_generateMethod · 0.45
generateMethod · 0.45
embed_batchMethod · 0.45
generate_embeddingFunction · 0.45
_get_openai_embeddingMethod · 0.45
embed_batchMethod · 0.45
_create_completionFunction · 0.45

Calls 2

getMethod · 0.80
FakeResponseClass · 0.70

Tested by

no test coverage detected