Versions in this module Expand all Collapse all v0 v0.1.13 Aug 27, 2026 v0.1.12 Aug 1, 2026 Changes in this version + type CacheControl struct + TTL string + Type string type ChatOptions + Background *bool + CacheControl *CacheControl + ContextManagement []ContextManagement + Conversation interface{} + Include []string + MaxToolCalls *int + PreviousResponseID string + PromptCacheOptions *PromptCacheOpts + Routing *RoutingConfig + SafetyIdentifier *string + Truncation *string + type ContextManagement struct + Type string type Gateway + DNSHost string + RegionOptions []GatewayRegionOption + type GatewayRegionOption struct + DisplayName string + Endpoint string + Value string type Model + DefaultThinkingEnabled *bool + SupportsThinkingToggle bool + type PromptCacheOpts struct + Mode string + TTL string + type RoutingConfig struct + Metric string + Model interface{} + Strategy string v0.1.11 Jul 29, 2026 v0.1.10 Jul 28, 2026 v0.1.9 Jul 25, 2026 v0.1.8 Jul 22, 2026 Changes in this version type CatalogHealth + Deployments int + Exists bool + ModifiedAt time.Time + Offerings int + Size int64 + Source string + Stale bool + StaleAfter time.Time + type CheckStatus string type DeploymentSummary + Formatted string + RoutingSource string + RoutingStages int + type EventStreamer interface + Close func() error + Err func() error + Event func() EyrieStreamEvent + Next func() bool type PreflightReport + LiveVerified bool type ProviderStateSecurity + HasSecrets bool + Path string v0.1.7 Jul 22, 2026 Changes in this version + const CheckFail + const CheckOK + const CheckWarn + type CatalogHealth struct + Error string + Healthy bool + Models int + Path string + type CatalogMaintenance interface + CatalogHealth func(ctx context.Context) CatalogHealth + DefaultProviderFilter func(ctx context.Context) string + MigrateProviderSecrets func() error + MigrateProviderSecretsContext func(ctx context.Context) error + Preflight func(ctx context.Context) PreflightReport + PreflightWithOptions func(ctx context.Context, opts PreflightOptions) PreflightReport + ProviderStateSecurityStatus func() ProviderStateSecurity + RefreshCatalog func(ctx context.Context, providerID string) (CatalogSnapshot, error) + StatePaths func() StatePaths + type CatalogSnapshot struct + CachePath string + LoadedAt time.Time + Models []Model + RemoteURL string + Stale bool + type ChatOptions struct + AudioConfig string + EnableCaching bool + FrequencyPenalty *float64 + GLMThinkingEnabled *bool + KimiCacheResetTTL bool + KimiContextCacheID string + LogProbs *bool + MaxTokens int + Metadata map[string]string + MetadataUserID string + Modalities []string + Model string + N *int + OutputEffort string + OutputSchema string + Prediction string + PresencePenalty *float64 + Provider string + ReasoningEffort string + ResponseFormat *ResponseFormat + Seed *int + ServiceTier string + StopSequences []string + Store *bool + Stream bool + System string + Temperature *float64 + ThinkingBudgetTokens int + ThinkingDisplay string + ThinkingEnabled *bool + ThinkingMode string + ToolChoice *ToolChoiceOption + Tools []EyrieTool + TopK *int + TopLogProbs *int + TopP *float64 + VirtualKeyID string + WebSearchOptions string + type ContentPart struct + ImageURL *ImageURLPart + InputAudio *InputAudioPart + Text string + Type string + type ContinuationConfig struct + MaxContinuations int + MaxTotalTokens int + type CredentialManager interface + ApplyCredentials func(ctx context.Context, providerID string) (CatalogSnapshot, error) + CredentialEnvKeys func(providerID string) []string + CredentialProviders func(context.Context) []CredentialProviderOption + CredentialStatus func(ctx context.Context, providerID string) (CredentialStatus, error) + HasCredentialEnv func(ctx context.Context, envVar string) bool + RemoveCredential func(ctx context.Context, providerID string) error + ResolveCredential func(ctx context.Context, secret string) CredentialResolution + SaveCredential func(ctx context.Context, providerID, secret string) (CredentialStatus, error) + SaveCredentialEnv func(ctx context.Context, envVar, secret string) error + type CredentialProviderOption struct + DeploymentID string + DisplayName string + EnvVar string + Inferred bool + ProviderID string + Rank int + RequiresKey bool + type CredentialResolution struct + FormatError string + FormatOK bool + ProbeDisambiguationUsed bool + Providers []CredentialProviderOption + type CredentialStatus struct + Configured bool + EnvVar string + EnvironmentConflict bool + EnvironmentVariable string + Masked string + ProviderID string + Verified bool + type DeploymentSummary struct + ActiveModel string + Router string + Status string + type EyrieConfig struct + APIKey string + BaseURL string + MaxRetries int + Model string + Provider string + type EyrieMessage struct + Content string + ContentParts []ContentPart + Images []string + Role string + Thinking string + ToolResults []ToolResult + ToolUse []ToolCall + type EyrieResponse struct + Content string + FinishReason string + OrganizationID string + RequestID string + Route *ResolvedRoute + Thinking string + ToolCalls []ToolCall + Usage *EyrieUsage + type EyrieStreamEvent struct + Content string + Error string + RequestID string + Route *ResolvedRoute + StopReason string + TTFT int + TTFTms int + Thinking string + ToolCall *ToolCall + Type string + Usage *EyrieUsage + Warning string + type EyrieTool struct + Description string + Name string + Parameters map[string]interface{} + type EyrieUsage struct + CacheCreationTokens int + CacheReadTokens int + CompletionTokens int + PromptTokens int + ThinkingTokens int + TotalTokens int + type Gateway struct + Active bool + ChatPreference int + CredentialConfigured bool + CredentialEnv string + DeploymentConfigured bool + DeploymentID string + DisplayName string + ID string + ModelCount int + RegionLabel string + RegionRequired bool + RequiresKey bool + SortOrder int + SupportsLiveDiscovery bool + type GatewayInspector interface + CanonicalModel func(ctx context.Context, modelID string) string + DeploymentRoutingEnabled func(override *bool) bool + DeploymentStatus func(ctx context.Context, activeModel string) (string, error) + DeploymentSummary func(ctx context.Context, activeModel string) (DeploymentSummary, error) + GatewayDefinitions func() []Gateway + GatewayForModel func(ctx context.Context, modelID string) string + GatewayRegion func(providerID string) (label string, required bool) + Gateways func(ctx context.Context) []Gateway + RoutingPreview func(ctx context.Context, modelID string) (string, error) + SetGatewayRegion func(ctx context.Context, providerID, value string) error + type GenerateRequest struct + Limits Limits + Messages []EyrieMessage + Metadata Metadata + Options GenerationOptions + OutputSchema string + Preference Preference + Requirements Requirements + SystemPrompt string + Temperature *float64 + Tools []EyrieTool + type GenerationOptions struct + AudioConfig string + EnableCaching bool + FrequencyPenalty *float64 + GLMThinkingEnabled *bool + KimiCacheResetTTL bool + KimiContextCacheID string + LogProbs *bool + Metadata map[string]string + Modalities []string + N *int + OutputEffort string + Prediction string + PresencePenalty *float64 + ReasoningEffort string + Seed *int + ServiceTier string + StopSequences []string + Store *bool + ThinkingBudgetTokens int + ThinkingDisplay string + ThinkingEnabled *bool + ThinkingMode string + ToolChoice *ToolChoiceOption + TopK *int + TopLogProbs *int + TopP *float64 + VirtualKeyID string + WebSearchOptions string + type Generator interface + Generate func(ctx context.Context, req GenerateRequest) (*EyrieResponse, error) + Stream func(ctx context.Context, req GenerateRequest) (*StreamResult, error) + type ImageURLPart struct + Detail string + URL string + type InputAudioPart struct + Data string + Format string + type Intent string + const IntentBalanced + const IntentEconomical + const IntentFast + const IntentReasoning + type Limits struct + MaxContinuations int + MaxOutputTokens int + MaxTotalOutputTokens int + Timeout time.Duration + type Metadata struct + ProjectID string + SessionID string + TurnID string + UserID string + type Model struct + CanonicalID string + Capabilities []string + ContextWindow int + Description string + DisplayName string + GatewayID string + ID string + InputPricePer1M float64 + LiveMetadata json.RawMessage + MaxOutputTokens int + OutputPricePer1M float64 + Owner string + PriceKnown bool + ProviderID string + Source string + type ModelCatalog interface + Catalog func(ctx context.Context) (CatalogSnapshot, error) + DefaultModel func(ctx context.Context, provider, fallback string) string + ListLiveModels func(ctx context.Context, providerID string) ([]Model, error) + ListModels func(ctx context.Context, providerID string, refresh bool) ([]Model, error) + ListPublicModels func(ctx context.Context, providerID string) ([]Model, error) + ModelClassOf func(ctx context.Context, modelID string) ModelClass + ModelInfo func(ctx context.Context, modelID string) (Model, bool, error) + ModelNames func(ctx context.Context) []string + ModelProviders func(ctx context.Context) ([]string, error) + PreferredModel func(ctx context.Context, provider string, class ModelClass, fallback string) string + PreferredModels func(ctx context.Context, primaryProvider string, class ModelClass, limit int) []string + PrimaryModel func(ctx context.Context) string + ProviderForModel func(ctx context.Context, modelID string) string + type ModelClass string + const ModelClassBalanced + const ModelClassEconomical + const ModelClassPremium + type NativeCompactionRequest struct + ContextWindow int + MaxOutputTokens int + Messages []EyrieMessage + Model string + Provider string + ThresholdPct int + type NativeCompactor interface + CompactNative func(ctx context.Context, req NativeCompactionRequest) (string, error) + SupportsNativeCompaction func(ctx context.Context, provider, model string) bool + type Preference struct + AllowFallback bool + Intent Intent + MaximumCostUSD float64 + PreferredModelID string + PreferredProvider string + type PreflightCheck struct + Detail string + Name string + Status string + type PreflightOptions struct + VerifyLive bool + type PreflightReport struct + Checks []PreflightCheck + Ready bool + type Provider interface + type ProviderStateSecurity struct + Detail string + Error string + PlatformStore string + Sanitized bool + type Requirements struct + MinimumContext int + Reasoning bool + Streaming bool + StructuredJSON bool + Tools bool + Vision bool + type ResolvedRoute struct + DeploymentRouting bool + Model string + Provider string + type ResponseFormat struct + Schema string + Type string + type Selection struct + DeploymentRouting bool + HasConfiguredDeployment bool + Model string + Provider string + type SelectionManager interface + ActiveSelection func(ctx context.Context) ResolvedRoute + ClearSelection func(ctx context.Context) error + EffectiveSelection func(ctx context.Context, opts SelectionOptions) Selection + SetActiveModel func(ctx context.Context, modelID string) error + SetActiveProvider func(ctx context.Context, provider string) error + SetSelection func(ctx context.Context, provider, modelID string) error + type SelectionOptions struct + DeploymentRoutingOverride *bool + ModelOverride string + ProviderOverride string + type StatePaths struct + Catalog string + ProviderConfig string + type StreamResult struct + Events <-chan EyrieStreamEvent + RequestID string + func NewStreamResult(events <-chan EyrieStreamEvent, requestID string, cancel context.CancelFunc) *StreamResult + func (sr *StreamResult) Close() + type ToolCall struct + Arguments map[string]interface{} + ID string + Name string + type ToolChoiceOption struct + DisableParallelToolUse bool + Name string + Type string + type ToolResult struct + Content string + IsError bool + ToolUseID string