Skip to main content

Interface: PromptHistoryOmission

Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:276

The conversation history a prompt left out to fit its token budget: the oldest messages before the turn being answered, dropped with no summary in their place. The caller's history still holds them.

Properties​

messages​

messages: number

Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:278

How many history messages the prompt left out.


tokens​

tokens: number

Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:284

Their tokens as the prompt engine's budget counts them (the content, any thinking the model would receive, and five tokens a message), an estimate rather than the provider's count.