Fleet Memory
getHistory()
Read worker conversation history.
What it does
Read worker conversation history.
The operation follows the fleet’s memory mode and agent identity rules when selecting, storing, or transferring memory.
Signature
TypeScript
getHistory(): Message[]Example
example.ts
const history = worker.getHistory();