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 compress implements the prompt-compression algorithm GrayCode native prompt-compression implementation.
|
Package compress implements the prompt-compression algorithm GrayCode native prompt-compression implementation. |
|
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 extract provides utilities for extracting structured data (JSON objects, arrays) from text that may contain prose around it.
|
Package extract provides utilities for extracting structured data (JSON objects, arrays) from text that may contain prose around it. |
|
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. |
|
Package secrets: filename-based sensitive path detection.
|
Package secrets: filename-based sensitive path detection. |
|
Package tracking provides persistent gain tracking for tok compression calls via a local SQLite database.
|
Package tracking provides persistent gain tracking for tok compression calls via a local SQLite database. |
Click to show internal directories.
Click to hide internal directories.