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

Method decide

tutorials/18_design_patterns_for_agents.py:91–92  ·  view source on GitHub ↗
(self, tool_name: str, tool_input: str)

Source from the content-addressed store, hash-verified

89 """权限提示器接口: 你必须能做出允许/拒绝决定"""
90 @abstractmethod
91 def decide(self, tool_name: str, tool_input: str) -> bool:
92 ...
93
94 # ---- 步骤 2: 多种实现 ----
95

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected