Skip to main content

Interface: IWorkingMemoryDeps

Defined in: internal/working-memory/types.ts:336

Shared instances WorkingMemory needs; created once by AIGateway and passed as the second constructor argument.

Properties​

llmClient​

llmClient: ILLMClient

Defined in: internal/working-memory/types.ts:338

The cheap-model call of the SUMMARY_BUFFER update.


promptTemplateStore​

promptTemplateStore: IPromptTemplateStore

Defined in: internal/working-memory/types.ts:340

Renders the MEMORY_WORKING template of the update.


threadStore​

threadStore: IThreadStore

Defined in: internal/working-memory/types.ts:342

The turns of the window and the stored state (IThread.workingMemory).


turnBuilder​

turnBuilder: ITurnBuilder

Defined in: internal/working-memory/types.ts:344

Turns → messages for the window.