Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / filters / lastUser

Function: lastUser()

ts
function lastUser(): DescribedFilter;

Defined in: packages/agent/src/filters/index.ts:115

Keep only the parent's system prompt and the most recent user message. Useful for simple sub-agents that only need the question.

Returns

DescribedFilter

Stable