Skip to main content

inspectAssembledPrompt

@forge/monorepo


@forge/monorepo / backend/src / inspectAssembledPrompt

Function: inspectAssembledPrompt()

inspectAssembledPrompt(assembled): ContextInspection

Defined in: backend/src/context/assembler.ts:172

Derive the context-inspector view from an assembled prompt: every section (included and pruned) with its bucket, provenance and token cost — so the UI can attribute which context (and which memory entries, via provenance) influenced a turn, and show what was dropped and why.

Parameters

assembled

AssembledPrompt

Returns

ContextInspection