Documentation
¶
Overview ¶
Package anttrace parses and renders Anthropic request trace data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderMarkdown ¶
func RenderText ¶
Types ¶
type Report ¶
type Report struct {
Kind string `json:"kind"`
Action string `json:"action"`
Status string `json:"status"`
Provider string `json:"provider"`
Model string `json:"model"`
BaseURL string `json:"base_url"`
AuthConfigured bool `json:"auth_configured"`
RequestSent bool `json:"request_sent"`
TimeoutMS int `json:"timeout_ms"`
ElapsedMS int64 `json:"elapsed_ms"`
StreamEvents int `json:"stream_events"`
TextPreview string `json:"text_preview,omitempty"`
Usage anthropic.Usage `json:"usage,omitempty"`
RateLimit anthropic.RateLimitReport `json:"rate_limit"`
Error string `json:"error,omitempty"`
File string `json:"file,omitempty"`
Bytes int `json:"bytes,omitempty"`
Messages []string `json:"messages,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.