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

Function Warning

pkg/runtime/event.go:319–325  ·  view source on GitHub ↗
(message, agentName string)

Source from the content-addressed store, hash-verified

317}
318
319func Warning(message, agentName string) Event {
320 return &WarningEvent{
321 Type: "warning",
322 Message: message,
323 AgentContext: newAgentContext(agentName),
324 }
325}
326
327// ModelFallbackEvent is emitted when the runtime switches to a fallback model
328// after the previous model in the chain fails. This can happen due to:

Callers 7

processFileAttachmentMethod · 0.92
runTurnMethod · 0.85
emitAgentWarningsMethod · 0.85
dispatchHookMethod · 0.85
handleStreamErrorMethod · 0.85
compactWithReasonMethod · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by

no test coverage detected