MCPcopy Index your code
hub / github.com/docker/docker-agent / Authorization

Function Authorization

pkg/runtime/event.go:574–580  ·  view source on GitHub ↗
(confirmation tools.ElicitationAction, agentName string)

Source from the content-addressed store, hash-verified

572}
573
574func Authorization(confirmation tools.ElicitationAction, agentName string) Event {
575 return &AuthorizationEvent{
576 Type: "authorization_event",
577 Confirmation: confirmation,
578 AgentContext: newAgentContext(agentName),
579 }
580}
581
582type MaxIterationsReachedEvent struct {
583 AgentContext

Callers 2

skillSubSessionToolsMethod · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by

no test coverage detected