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

Method CurrentAgentInfo

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

CurrentAgentInfo returns information about the currently active agent

(ctx context.Context)

Source from the content-addressed store, hash-verified

45type Runtime interface {
46 // CurrentAgentInfo returns information about the currently active agent
47 CurrentAgentInfo(ctx context.Context) CurrentAgentInfo
48 // CurrentAgentName returns the name of the currently active agent
49 CurrentAgentName(ctx context.Context) string
50 // SetCurrentAgent sets the currently active agent for subsequent user messages

Callers 5

CurrentAgentInfoMethod · 0.65
CurrentAgentCommandsMethod · 0.65
ExportHTMLMethod · 0.65
LookupCommandFunction · 0.65
runRuntimeContractFunction · 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

Tested by 2

CurrentAgentInfoMethod · 0.52
runRuntimeContractFunction · 0.52