abefore_model(
self,
state: AgentState[Any],
runtime: Runtime[ContextT]
) | Name | Type | Description |
|---|---|---|
state* | AgentState[Any] | |
runtime* | Runtime[ContextT] |
Process messages before model invocation, potentially triggering summarization.
The agent state.
The runtime environment.