MCPcopy
hub / github.com/docker/docker-agent / CurrentAgentName

Method CurrentAgentName

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

CurrentAgentName returns the name of the currently active agent

(ctx context.Context)

Source from the content-addressed store, hash-verified

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
51 SetCurrentAgent(ctx context.Context, agentName string) error
52 // CurrentAgentTools returns the tools for the active agent

Callers 15

RunFunction · 0.65
CurrentAgentModelMethod · 0.65
SetCurrentAgentModelMethod · 0.65
SetAgentThinkingLevelMethod · 0.65
AvailableModelsMethod · 0.65
CompactSessionMethod · 0.65
GetSessionStatusMethod · 0.65
GetSessionSnapshotMethod · 0.65
applyRunModelOverrideMethod · 0.65
SetSessionAgentModelMethod · 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