← Về thư mục
openai4s/host/delegation.py
- AgentProfileStore · class · L15-L16 — class AgentProfileStore(Protocol)
- get_agent · method · L16-L16 — def get_agent(self, name: str, **kwargs) -> dict | None
- _with_persona · function · L36-L64 — def _with_persona(request: Any, persona: str) -> Any
- DelegationService · class · L67-L190 — class DelegationService
- init · method · L70-L87 — def init( self, *, delegate: Delegate | None = None, delegate_provider: DelegateProvider | None = None, steering: dict[str, Callable[..., Any]] | SteeringProvider, store: AgentProfileStore | StoreProvider, capability_scope: CapabilityScopeProvider | None = None, specialist_enabled: SpecialistEnabled | None = None, ) -> None
- _delegate · method · L89-L92 — def _delegate(self) -> Delegate | None
- _steering · method · L94-L96 — def _steering(self) -> dict[str, Callable[..., Any]]
- _store · method · L98-L100 — def _store(self) -> AgentProfileStore
- available · method · L102-L103 — def available(self) -> bool
- delegate · method · L105-L160 — def delegate(self, spec: dict) -> Any
- children · method · L162-L164 — def children(self) -> Any
- collect · method · L166-L170 — def collect(self, spec: dict) -> Any
- stop_child · method · L172-L176 — def stop_child(self, child_id: str) -> Any
- send_message · method · L178-L182 — def send_message(self, spec: dict) -> Any
- stats · method · L184-L190 — def stats(self) -> Any
- _with_profile_overrides · function · L193-L288 — def _with_profile_overrides(spec: dict, profile: dict) -> dict