Skip to main content

history

AsyncMethod
This is a method of the Agent class in the agent module.
Get conversation history

Signature

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

Returns

Returns
Result<Vec<Message>>
The result of the operation.