Skip to content

Interface: AgentLimitDef

Defined in: packages/core/src/presenter/definePresenter.ts:45

Agent limit configuration for cognitive guardrails.

Properties

max

ts
readonly max: number;

Defined in: packages/core/src/presenter/definePresenter.ts:47

Maximum items to keep when data is an array


onTruncate()

ts
readonly onTruncate: (omittedCount) => UiBlock;

Defined in: packages/core/src/presenter/definePresenter.ts:49

Callback that produces a warning block when items are truncated

Parameters

ParameterType
omittedCountnumber

Returns

UiBlock