Documentation
¶
Overview ¶
Package anthropic is a direct (non-Vertex) provider for the Anthropic API (api.anthropic.com), which speaks the Messages API. It reuses the shared messages codec; only the transport (x-api-key + anthropic-version header, model in body, vendor base URL) is Anthropic-specific.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnthropicProvider ¶
func NewAnthropicProvider(apiKey, modelName string, backendURLs []string, capability modelrepo.CapabilityConfig, httpClient *http.Client, tracker libtracker.ActivityTracker) modelrepo.Provider
NewAnthropicProvider returns a modelrepo.Provider for the direct Anthropic API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.