← Về thư mục
openai4s/host/delegation_policy.py
- DelegationPolicyError · class · L209-L210 — class DelegationPolicyError(ValueError)
- ChildExecutionPolicy · class · L214-L302 — class ChildExecutionPolicy
- allows · method · L235-L247 — def allows(self, method: str, tool: Any | None = None) -> bool
- decision · method · L249-L268 — def decision(self, method: str, tool: Any | None = None) -> str | None
- visible · method · L270-L272 — def visible(self, tool: Any) -> bool
- allows_alias · method · L274-L280 — def allows_alias(self, alias: str) -> bool
- permits_capability · method · L282-L287 — def permits_capability(self, capability: str) -> bool
- public · method · L289-L294 — def public(self) -> dict[str, Any]
- _candidates · method · L297-L302 — def _candidates(method: str, tool: Any | None) -> frozenset[str]
- child_execution_policy · function · L305-L361 — def child_execution_policy(spec: Mapping[str, Any]) -> ChildExecutionPolicy
- _allowlist · function · L364-L380 — def _allowlist(raw: Any, field: str, noun: str) -> frozenset[str] | None
- _name · function · L383-L384 — def _name(value: str) -> str