Put Writes
client.checkpoints.putWrites(CheckpointPutWritesParams { checkpoint_id, thread_id, writes, 2 more } body, RequestOptionsoptions?): void
POST/checkpoints/put-writes
Put Writes
import Agentex from 'agentex';
const client = new Agentex({
apiKey: process.env['AGENTEX_SDK_API_KEY'], // This is the default and can be omitted
});
await client.checkpoints.putWrites({
checkpoint_id: 'checkpoint_id',
thread_id: 'thread_id',
writes: [
{
blob: 'blob',
channel: 'channel',
idx: 0,
task_id: 'task_id',
},
],
});