Agent History
Therun()
method returns an AgentHistoryList
object with the complete execution history:
Structured Output
For structured output, use theoutput_model_schema
parameter with a Pydantic model. Example.run()
method returns an AgentHistoryList
object with the complete execution history:
output_model_schema
parameter with a Pydantic model. Example.