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

Method __init__

tutorials/18_design_patterns_for_agents.py:504–505  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

502 class StaticToolExecutor:
503 """对应 conversation.rs:429-447"""
504 def __init__(self):
505 self._handlers: dict[str, Callable] = {}
506
507 def register(self, name: str, handler: Callable) -> StaticToolExecutor:
508 """对应 .register(tool_name, handler) -> Self"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected