Documentation
¶
Overview ¶
Package contextpack selects and renders bounded, explicitly untrusted historical context.
Index ¶
Constants ¶
View Source
const ( MemoryCandidateLimit = 16 ExperienceCandidateLimit = 8 EntryLimit = 8 ExperienceEntryLimit = 2 MaxEntryContentBytes = 2_000 )
View Source
const ( SchemaV1 = "powercontext.prepared-context.v1" DefaultMaxBytes = 8_000 MinMaxBytes = 512 MaxMaxBytes = 32_768 MaxQueryRunes = 8_192 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvariantError ¶
type InvariantError struct{ Code string }
func (*InvariantError) Error ¶
func (e *InvariantError) Error() string
type Prepared ¶
type Prepared struct {
// contains filtered or unexported fields
}
func EmptyPrepared ¶
func EmptyPrepared() Prepared
func NewPrepared ¶
func (Prepared) ContentBytes ¶
Click to show internal directories.
Click to hide internal directories.