Help us shape the future of Go! Take the 2026 Go Developer Survey

llm

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxServerRetryAfter      = upstream.MaxServerRetryAfter
	MaxStreamRecoveryRetries = upstream.MaxStreamRecoveryRetries
	BusyAdmissionDelay       = upstream.BusyAdmissionDelay
	BusyAdmissionDelays      = upstream.BusyAdmissionDelays
	ClassifyLLMError         = upstream.ClassifyLLMError
	IsContextExceededError   = upstream.IsContextExceededError
	IsContextExceededFinish  = upstream.IsContextExceededFinish
	IsProviderBusyCode       = upstream.IsProviderBusyCode
	IsRateLimitError         = upstream.IsRateLimitError
	IsTransientStreamError   = upstream.IsTransientStreamError
	IsTruncatedError         = upstream.IsTruncatedError
	NewBudget                = upstream.NewBudget
	NewClient                = upstream.NewClient
	NewCostTracker           = upstream.NewCostTracker
	NewFailoverModel         = upstream.NewFailoverModel
	NewFallbackChain         = upstream.NewFallbackChain
	NewOpenAIProvider        = upstream.NewOpenAIProvider
	NewResilient             = upstream.NewResilient
	NewStageRouter           = upstream.NewStageRouter
	NewUsageHandler          = upstream.NewUsageHandler
	PriceOf                  = upstream.PriceOf
	PriceOfMatched           = upstream.PriceOfMatched
	RetryAfterFrom           = upstream.RetryAfterFrom
	RetryableLLMError        = upstream.RetryableLLMError
	SelectRetryDelay         = upstream.SelectRetryDelay
	SuspiciousEmptyResult    = upstream.SuspiciousEmptyResult
	WithCallCounter          = upstream.WithCallCounter
	WithRetryAfterSink       = upstream.WithRetryAfterSink
	WithUsageLabels          = upstream.WithUsageLabels
)

Functions

This section is empty.

Types

type Attempt

type Attempt = upstream.Attempt

type AttemptError

type AttemptError = upstream.AttemptError

type Budget

type Budget = upstream.Budget

type BudgetConfig

type BudgetConfig = upstream.BudgetConfig

type BudgetHolder

type BudgetHolder = upstream.BudgetHolder

type BudgetInjector

type BudgetInjector = upstream.BudgetInjector
type ChainLink = upstream.ChainLink

type Client

type Client = upstream.Client

type CostRecord

type CostRecord = upstream.CostRecord

type CostTracker

type CostTracker = upstream.CostTracker

type FailoverModel

type FailoverModel = upstream.FailoverModel

type FallbackChain

type FallbackChain = upstream.FallbackChain

type Generator

type Generator = upstream.Generator

type ModelSummary

type ModelSummary = upstream.ModelSummary

type OpenAIProvider

type OpenAIProvider = upstream.OpenAIProvider

type OpenAIProviderConfig

type OpenAIProviderConfig = upstream.OpenAIProviderConfig

type Price

type Price = upstream.Price

type Provider

type Provider = upstream.Provider

type Resilient

type Resilient = upstream.Resilient

type ResilientConfig

type ResilientConfig = upstream.ResilientConfig

type RetryHint

type RetryHint = upstream.RetryHint

type Sink

type Sink = upstream.Sink

type StageRouter

type StageRouter = upstream.StageRouter

type TokenAccountant

type TokenAccountant = upstream.TokenAccountant

type UsageCallCounter

type UsageCallCounter = upstream.UsageCallCounter

type UsageRecord

type UsageRecord = upstream.UsageRecord

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL