MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

tutorials/18_design_patterns_for_agents.py:301–302  ·  view source on GitHub ↗
(self, responses)

Source from the content-addressed store, hash-verified

299
300 class MockApi(ApiClient):
301 def __init__(self, responses):
302 self.responses = iter(responses)
303 def stream(self, messages):
304 return next(self.responses)
305

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected