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

Method stream

tutorials/18_design_patterns_for_agents.py:107–108  ·  view source on GitHub ↗
(self, messages)

Source from the content-addressed store, hash-verified

105 self.fixed_response = fixed_response
106
107 def stream(self, messages):
108 return [{"type": "text", "text": self.fixed_response}]
109
110 # 实现 3: 记录所有请求 (调试环境)
111 class LoggingApiClient(ApiClient):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected