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

Function AgentChoice

pkg/runtime/event.go:198–205  ·  view source on GitHub ↗
(agentName, sessionID, content string)

Source from the content-addressed store, hash-verified

196func (e *AgentChoiceEvent) GetSessionID() string { return e.SessionID }
197
198func AgentChoice(agentName, sessionID, content string) Event {
199 return &AgentChoiceEvent{
200 Type: "agent_choice",
201 Content: content,
202 SessionID: sessionID,
203 AgentContext: newAgentContext(agentName),
204 }
205}
206
207type AgentChoiceReasoningEvent struct {
208 AgentContext

Callers 6

handleStreamFunction · 0.85
runHarnessAgentMethod · 0.85
TestSimpleFunction · 0.85
TestWithReasoningFunction · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by 4

TestSimpleFunction · 0.68
TestWithReasoningFunction · 0.68