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

Class PrintToolExecutor

tutorials/18_design_patterns_for_agents.py:306–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 return next(self.responses)
305
306 class PrintToolExecutor(ToolExecutor):
307 def execute(self, name, inp):
308 return f"[{name}] 执行了: {inp}"
309
310 # 场景 1: 纯文本回答 (无工具调用)
311 runtime = ConversationRuntime(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected