Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKeyNotFound indicates no Anthropic API key was found in env or config. ErrKeyNotFound = errors.New("api key not found") // ErrTokenLimit indicates the prompt exceeds the model's context window. ErrTokenLimit = errors.New("prompt exceeds context window") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an Anthropic Messages API client.
type StatusError ¶ added in v0.7.29
type StatusError = hc.StatusError
StatusError is an alias for the shared httpcl.StatusError type.
Click to show internal directories.
Click to hide internal directories.