overflow

package
v0.5.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package overflow is the session-layer view of the compaction budget.

The arithmetic lives in internal/engine/calc, where the engine already consumes this module's decisions. Type aliases keep both call sites on one implementation.

Index

Constants

View Source
const PolicyWindow = calc.PolicyWindow

Variables

This section is empty.

Functions

func EffectiveInputCapacity

func EffectiveInputCapacity(input UsableInput) float64

func IsOverflow

func IsOverflow(input OverflowInput) bool

func ValidatePolicy

func ValidatePolicy(cfg Config) error

Types

type CompactionConfig

type CompactionConfig = calc.CompactionConfig

type CompactionWatermarks

type CompactionWatermarks = calc.CompactionWatermarks

func Watermarks

func Watermarks(input UsableInput) CompactionWatermarks

type Config

type Config = calc.Config

type Model

type Model = calc.Model

type ModelLimit

type ModelLimit = calc.ModelLimit

type OverflowInput

type OverflowInput = calc.OverflowInput

type TokenCache

type TokenCache = calc.TokenCache

type Tokens

type Tokens = calc.Tokens

type UsableInput

type UsableInput = calc.UsableInput

Jump to

Keyboard shortcuts

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