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

Method RunStream

pkg/runtime/runtime.go:78–78  ·  view source on GitHub ↗

RunStream starts the agent's interaction loop and returns a channel of events

(ctx context.Context, sess *session.Session)

Source from the content-addressed store, hash-verified

76 ResetStartupInfo()
77 // RunStream starts the agent's interaction loop and returns a channel of events
78 RunStream(ctx context.Context, sess *session.Session) <-chan Event
79 // Run starts the agent's interaction loop and returns the final messages
80 Run(ctx context.Context, sess *session.Session) ([]session.Message, error)
81 // Resume allows resuming execution after user confirmation.

Callers 15

runAgentLoopFunction · 0.65
RunFunction · 0.65
runDockerAgentFunction · 0.65
RunMethod · 0.65
RetryMethod · 0.65
RunWithMessageMethod · 0.65
RunSessionMethod · 0.65
runOverflowSessionFunction · 0.65
collectRuntimeEventsFunction · 0.65

Implementers 7

queueTestRuntimepkg/tui/page/chat/queue_test.go
cycleThinkingRuntimepkg/leantui/update_test.go
mockRuntimepkg/cli/runner_test.go
mockRuntimepkg/app/app_test.go
LocalRuntimepkg/runtime/runtime.go
mockRuntimepkg/runtime/commands_test.go
RemoteRuntimepkg/runtime/remote_runtime.go

Calls

no outgoing calls