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

Function StreamStopped

pkg/runtime/event.go:507–514  ·  view source on GitHub ↗
(sessionID, agentName, reason string)

Source from the content-addressed store, hash-verified

505}
506
507func StreamStopped(sessionID, agentName, reason string) Event {
508 return &StreamStoppedEvent{
509 Type: "stream_stopped",
510 SessionID: sessionID,
511 AgentContext: newAgentContext(agentName),
512 Reason: reason,
513 }
514}
515
516func (e *StreamStoppedEvent) GetSessionID() string { return e.SessionID }
517

Callers 10

RunSkillForkMethod · 0.92
RunStreamMethod · 0.92
RunStreamMethod · 0.92
RunSkillForkMethod · 0.92
finalizeEventChannelMethod · 0.85
TestSimpleFunction · 0.85
TestWithReasoningFunction · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by 9

RunSkillForkMethod · 0.74
RunStreamMethod · 0.74
RunStreamMethod · 0.74
RunSkillForkMethod · 0.74
TestSimpleFunction · 0.68
TestWithReasoningFunction · 0.68