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

Class FakeEmbeddings

experiments/tests/test_paper_stack.py:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84def test_batch_embedding_error_switches_descriptor_to_hash(tmp_path, monkeypatch):
85 class FakeEmbeddings:
86 def create(self, **kwargs):
87 raise RuntimeError("401 Unauthorized")
88
89 class FakeClient:
90 def __init__(self):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68