history • Rust AI Agent SDK

history: Get conversation history

history

Async

Method

</div>

This is a method of the Agent class in the agent module.

Get conversation history

Signature

python
async def history(&self) -> Result<Vec<Message>>

Returns

PreviousNext