Documentation
¶
Overview ¶
Package contextplan assembles bounded committed-source context and plans typed questions without invoking a provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Batch ¶
Batch is one request against one state. ItemByQuestion maps answer IDs back to immutable Git work-item IDs for later diagnostic anchoring.
type Limits ¶
type Limits struct {
MaxStateBytes int
MaxTotalStateBytes int
MaxRequestBytes int
ByteBudget int
MaxItems int
MaxGroups int
MaxQuestions int
MaxQuestionsPerBatch int
MaxPlanBytes int
}
Limits are local preflight caps. Zero selects a finite default; callers may lower a cap but cannot raise it above the hard maximum. ByteBudget is a conservative upper estimate of tokens: one serialized UTF-8 byte counts as one token. It is not the provider's tokenizer.
Click to show internal directories.
Click to hide internal directories.