Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + type Completer interface + Complete func(ctx context.Context, req Request) (*Response, error) + CompleteStream func(ctx context.Context, req Request) <-chan Event + Model func() string + Provider func() string + type Event struct + Content string + Error error + Response *Response + Type EventType + type EventType string + const EventComplete + const EventContentDelta + const EventError + type FinishReason string + const FinishReasonLength + const FinishReasonStop + const FinishReasonUnknown + type Request struct + MaxTokens *int64 + Prompt string + RandomSeed *int64 + Stop []string + Suffix string + Temperature *float64 + TopP *float64 + type Response struct + Content string + FinishReason FinishReason + Model string + Provider string + Usage Usage + type Usage struct + InputTokens int64 + OutputTokens int64