internal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrConfigInvalid indicates a configuration validation failure.
	ErrConfigInvalid = errors.New("invalid configuration")

	// ErrInputTooLarge indicates the input exceeds the maximum context tokens.
	ErrInputTooLarge = errors.New("input exceeds maximum context tokens")

	// ErrPipelineFailed indicates a pipeline processing failure.
	ErrPipelineFailed = errors.New("pipeline processing failed")

	// ErrChunkFailed indicates a chunk processing failure within the pipeline.
	ErrChunkFailed = errors.New("chunk processing failed")

	// ErrCacheMiss indicates a cache lookup miss (not an error, used for control flow).
	ErrCacheMiss = errors.New("cache miss")

	// ErrCommandBlocked indicates a command was blocked by safety checks.
	ErrCommandBlocked = errors.New("command blocked")

	// ErrReversibleNotFound indicates no reversible entry was found for a hash prefix.
	ErrReversibleNotFound = errors.New("reversible entry not found")
)

Sentinel errors for tok pipeline operations.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package cache provides persistent query caching for tok.
Package cache provides persistent query caching for tok.
Package config provides configuration management for tok.
Package config provides configuration management for tok.
Package core provides core interfaces and utilities for tok.
Package core provides core interfaces and utilities for tok.
Package fastops CPU feature detection.
Package fastops CPU feature detection.
Package filter provides LRU caching using the unified cache package.
Package filter provides LRU caching using the unified cache package.

Jump to

Keyboard shortcuts

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