abefore_model(
self,
state: AgentState[Any],
runtime: Runtime[ContextT]
) | Name | Type | Description |
|---|---|---|
state* | AgentState[Any] | |
runtime* | Runtime[ContextT] |
Async check user messages and tool results for PII before model invocation.
The current agent state.
The langgraph runtime.