after_agent(
self,
state: RubricState,
runtime: Runtime[ContextT]
) -> dict| Name | Type | Description |
|---|---|---|
state* | RubricState | |
runtime* | Runtime[ContextT] |
Grade the transcript and decide whether to loop back to the model.
Agent state at natural stop (no further tool calls).
Agent runtime; used for the stream writer.