Versions in this module Expand all Collapse all v0 v0.65.1 May 30, 2026 v0.65.0 May 29, 2026 Changes in this version + type Config struct + APIKey string + BaseURL string + Model string + type Provider struct + func New(cfg Config) (*Provider, error) + func (p *Provider) Complete(ctx context.Context, req ai.CompletionRequest) (*ai.CompletionResponse, error) + func (p *Provider) CompleteStream(_ context.Context, _ ai.CompletionRequest) (<-chan ai.StreamChunk, error) + func (p *Provider) Models() []ai.ModelInfo + func (p *Provider) Name() string + func (p *Provider) SupportsToolUse() bool + func (p *Provider) ToolComplete(ctx context.Context, req ai.ToolCompletionRequest) (*ai.ToolCompletionResponse, error)