Skip to content

ExtractorContext

Defined in: src/memory/extraction/types.ts:56

Context passed to Extractor.extract.

Lets the manager hand an extractor a fallback model without the extractor having to be wired to the agent directly. ModelExtractor uses its own configured model when set, else defaultModel.

optional defaultModel?: Model;

Defined in: src/memory/extraction/types.ts:58

Model an extractor without its own falls back to (agent.auxModel > agent.model).


readonly optional invocationContext?: InvocationContext;

Defined in: src/memory/extraction/types.ts:67

The request this extraction runs for, if any; a nested call that joins it adds to the request’s usage, but the request’s limits don’t apply.