(self, fixed_response: str)
| 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}] |
nothing calls this directly
no outgoing calls
no test coverage detected