abefore_agent(
self,
state: MemoryState,
runtime: Runtime,
config: RunnableConfig
) -> MemoryStateUpdate| Name | Type | Description |
|---|---|---|
state* | MemoryState | |
runtime* | Runtime | |
config* | RunnableConfig |
Load memory content before agent execution.
Loads memory from all configured sources and stores in state. Only loads if not already present in state.
Current agent state.
Runtime context.
Runnable config.