Ask a question to get started
Enter to sendā¢Shift+Enter new line
Moderate model output after the model is called.
after_model( self, state: AgentState[Any], runtime: Runtime[Any] ) -> dict[str, Any] | None
state
AgentState[Any]
Current agent state containing messages.
runtime
Runtime[Any]
Agent runtime context.