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

compact

package
v1.8.59 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ClearedPlaceholder           = upstream.ClearedPlaceholder
	DefaultBuffer                = upstream.DefaultBuffer
	DefaultContextWindow         = upstream.DefaultContextWindow
	DefaultIdle                  = upstream.DefaultIdle
	DefaultKeepRecent            = upstream.DefaultKeepRecent
	DefaultMinTokenSavings       = upstream.DefaultMinTokenSavings
	DefaultOutputReserve         = upstream.DefaultOutputReserve
	InterruptedToolResult        = upstream.InterruptedToolResult
	MaxConsecutiveFailures       = upstream.MaxConsecutiveFailures
	MaxConsecutiveRapidRefills   = upstream.MaxConsecutiveRapidRefills
	MaxOverflowRetries           = upstream.MaxOverflowRetries
	MicroApplied                 = upstream.MicroApplied
	MicroBelowSavings            = upstream.MicroBelowSavings
	MicroDisabled                = upstream.MicroDisabled
	MicroNoCandidates            = upstream.MicroNoCandidates
	MicroNotTriggered            = upstream.MicroNotTriggered
	MicroNothingToClear          = upstream.MicroNothingToClear
	RapidRefillToolTurnThreshold = upstream.RapidRefillToolTurnThreshold
	ReasonAboveThreshold         = upstream.ReasonAboveThreshold
	ReasonBelowThreshold         = upstream.ReasonBelowThreshold
	ReasonCircuitBreaker         = upstream.ReasonCircuitBreaker
	ReasonDisabled               = upstream.ReasonDisabled
	ReasonNotEnough              = upstream.ReasonNotEnough
	ReserveCap                   = upstream.ReserveCap
	RoleAssistant                = upstream.RoleAssistant
	RoleTool                     = upstream.RoleTool
	RoleUser                     = upstream.RoleUser
	SourceEstimate               = upstream.SourceEstimate
	SourceProviderUsage          = upstream.SourceProviderUsage
	TriggerIdle                  = upstream.TriggerIdle
	TriggerTokens                = upstream.TriggerTokens
)

Variables

View Source
var (
	BuildDefaultThreshold      = upstream.BuildDefaultThreshold
	EstimateTokens             = upstream.EstimateTokens
	EvaluateRapidRefill        = upstream.EvaluateRapidRefill
	FormatSummary              = upstream.FormatSummary
	GroupRounds                = upstream.GroupRounds
	HasEnoughToCompact         = upstream.HasEnoughToCompact
	MaybeMicrocompact          = upstream.MaybeMicrocompact
	MaybeMicrocompactWithUsage = upstream.MaybeMicrocompactWithUsage
	RepairInterrupted          = upstream.RepairInterrupted
	Select                     = upstream.Select
	SelectAfterOverflow        = upstream.SelectAfterOverflow
	ShouldCompact              = upstream.ShouldCompact
	SummaryMessage             = upstream.SummaryMessage
	SummaryPrompt              = upstream.SummaryPrompt
	TokenGap                   = upstream.TokenGap
	TruncateForRetry           = upstream.TruncateForRetry
)

Functions

This section is empty.

Types

type Config

type Config = upstream.Config

type Decision

type Decision = upstream.Decision

type ErrRapidRefill

type ErrRapidRefill = upstream.ErrRapidRefill

type Message

type Message = upstream.Message

type MicroConfig

type MicroConfig = upstream.MicroConfig

type MicroReason

type MicroReason = upstream.MicroReason

type MicroResult

type MicroResult = upstream.MicroResult

type MicroTrigger

type MicroTrigger = upstream.MicroTrigger

type RapidRefillDecision

type RapidRefillDecision = upstream.RapidRefillDecision

type Reason

type Reason = upstream.Reason

type Selection

type Selection = upstream.Selection

type SummaryOptions

type SummaryOptions = upstream.SummaryOptions

type TokenOverride

type TokenOverride = upstream.TokenOverride

type TokenSource

type TokenSource = upstream.TokenSource

type ToolCall

type ToolCall = upstream.ToolCall

Jump to

Keyboard shortcuts

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