Kind: Class
Source: atloria-monorepo/libs/agent-core/src/context/history-processors.ts
Hard character limit per tool output observation. Prevents any single tool from injecting massive payloads into context.
Applied first in the pipeline so downstream processors work with bounded-size items.
Implements: HistoryProcessor
Methods
| Method | Signature | Returns |
|---|---|---|
process | process(items: AgentInputItem[]) | AgentInputItem[] |
Properties
| Property | Type |
|---|---|
name | any |
Where it refuses work
SourceTruncationProcessorstops the work with an early return when!isToolOutput(item).SourceTruncationProcessorstops the work with an early return whenoutput.length <= this.maxChars.
Was this page helpful?