AssembledPrompt
@forge/monorepo / backend/src / AssembledPrompt
Type Alias: AssembledPrompt
AssembledPrompt =
object
Defined in: backend/src/context/assembler.ts:39
Properties
modelContextTokens
readonlymodelContextTokens:number
Defined in: backend/src/context/assembler.ts:52
The model's hard input limit this prompt was assembled against — #168.
Echoed back rather than left to the caller to remember. It is the denominator of every useful question about a prompt — how full is the window, how much is left, is this turn near the edge — and a caller holding the numerator while the limit lives somewhere else is a caller computing utilization against the wrong model the first time a policy resolves a different one.
preview
readonlypreview:PromptPreview
Defined in: backend/src/context/assembler.ts:42
pruned
readonlypruned: readonlyobject[]
Defined in: backend/src/context/assembler.ts:54
Sections dropped, with why — for observability and the context inspector.
sections
readonlysections: readonlyContextSection[]
Defined in: backend/src/context/assembler.ts:41
Included sections, highest priority first within each bucket.
totalTokens
readonlytotalTokens:number
Defined in: backend/src/context/assembler.ts:43