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

Method PrintAgentName

pkg/cli/printer.go:78–83  ·  view source on GitHub ↗

PrintAgentName prints the agent name header

(agentName string)

Source from the content-addressed store, hash-verified

76
77// PrintAgentName prints the agent name header
78func (p *Printer) PrintAgentName(agentName string) {
79 if !p.isTTYOut {
80 return
81 }
82 p.Printf("\n--- Agent: %s ---\n", bold(agentName))
83}
84
85// PrintToolCall prints a tool call
86func (p *Printer) PrintToolCall(toolCall tools.ToolCall) {

Callers 1

RunFunction · 0.80

Calls 1

PrintfMethod · 0.95

Tested by

no test coverage detected