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