Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2026 Changes in this version + type CompleteOptions struct + MaxTokens int + Temperature *float32 + type Provider interface + Complete func(ctx context.Context, system, prompt string, opts *CompleteOptions) (string, error) + func NewProvider(cfg ProviderConfig) (Provider, error) + type ProviderConfig struct + APIKey string + Model string + Name ProviderName + OllamaHost string + UseVertexAI bool + VertexProjectID string + VertexRegion string + type ProviderName string + const ProviderAnthropic + const ProviderOllama + const ProviderOpenAI