Skip to main content

Module context

Module context 

Source
Expand description

Context budgeting: pack optimal entity context into a token budget. Priority: target entity > direct dependencies > direct dependents > transitive dependencies > transitive dependents.

Structs§

ContextEntry
ContextResult

Functions§

build_context
Build a context set for a target entity within a token budget.
build_context_result
Build a context set plus budget metadata for a target entity.