R/agent-result.R
result_is_success.Rd
Check whether a run completed
result_is_success(result)
An AgentResult.
TRUE if the stop reason is "complete", meaning the model finished on its own. It doesn't check the answer.
TRUE
"complete"