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

Method __init__

tutorials/18_design_patterns_for_agents.py:112–114  ·  view source on GitHub ↗
(self, inner: ApiClient)

Source from the content-addressed store, hash-verified

110 # 实现 3: 记录所有请求 (调试环境)
111 class LoggingApiClient(ApiClient):
112 def __init__(self, inner: ApiClient):
113 self.inner = inner
114 self.log: list[dict] = []
115
116 def stream(self, messages):
117 self.log.append({"messages": messages})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected