Skip to main content

PromptPreview

@retinue/monorepo


@retinue/monorepo / backend/src / PromptPreview

Type Alias: PromptPreview

PromptPreview = object

Defined in: backend/src/context/index.ts:78

Per-section token estimates, so prompt composition is previewable.

Properties​

budget​

readonly budget: ContextBudget

Defined in: backend/src/context/index.ts:85


sections​

readonly sections: readonly object[]

Defined in: backend/src/context/index.ts:79


totalTokens​

readonly totalTokens: number

Defined in: backend/src/context/index.ts:84