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

Struct TokenUsageEvent

pkg/runtime/event.go:355–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355type TokenUsageEvent struct {
356 AgentContext
357
358 Type string `json:"type"`
359 SessionID string `json:"session_id"`
360 Usage *Usage `json:"usage"`
361}
362
363type Usage struct {
364 InputTokens int64 `json:"input_tokens"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected