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

Method __init__

tutorials/18_design_patterns_for_agents.py:104–105  ·  view source on GitHub ↗
(self, fixed_response: str)

Source from the content-addressed store, hash-verified

102 # 实现 2: 假数据 (测试环境)
103 class MockApiClient(ApiClient):
104 def __init__(self, fixed_response: str):
105 self.fixed_response = fixed_response
106
107 def stream(self, messages):
108 return [{"type": "text", "text": self.fixed_response}]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected