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

Method __init__

tutorials/05_agentic_loop_complete.py:124–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122# --- 工具执行器 (Tutorial 03 精简版) ---
123class ToolExecutor:
124 def __init__(self):
125 self._handlers: dict[str, Callable[[str], str]] = {}
126
127 def register(self, name: str, handler: Callable[[str], str]) -> "ToolExecutor":
128 self._handlers[name] = handler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected