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

Function AgentChoiceReasoning

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

Source from the content-addressed store, hash-verified

215func (e *AgentChoiceReasoningEvent) GetSessionID() string { return e.SessionID }
216
217func AgentChoiceReasoning(agentName, sessionID, content string) Event {
218 return &AgentChoiceReasoningEvent{
219 Type: "agent_choice_reasoning",
220 Content: content,
221 SessionID: sessionID,
222 AgentContext: newAgentContext(agentName),
223 }
224}
225
226// ErrorCode constants classify errors so external consumers (boards,
227// dashboards) can react programmatically without parsing free-form messages.

Callers 4

handleStreamFunction · 0.85
runHarnessAgentMethod · 0.85
TestWithReasoningFunction · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by 2

TestWithReasoningFunction · 0.68