Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Louisym/MiniCC
/ stream
Method
stream
tutorials/18_design_patterns_for_agents.py:303–304 ·
view source on GitHub ↗
(self, messages)
Source
from the content-addressed store, hash-verified
301
def
__init__(self, responses):
302
self.responses = iter(responses)
303
def
stream(self, messages):
304
return
next(self.responses)
305
306
class
PrintToolExecutor(ToolExecutor):
307
def
execute(self, name, inp):
Callers
4
stream
Method · 0.45
run_agent
Function · 0.45
run_turn
Method · 0.45
run_turn
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected