this.agent = new Agent({
name: 'Agent',
instructions: [
{
role: 'system',
content: prompt(),
providerOptions: {
anthropic: { cacheControl: { type: 'ephemeral' } },
},
},
],
model: wrappedModel,
})
this.agent = new Agent({
name: 'Agent',
instructions: [
{
role: 'system',
content: prompt(),
providerOptions: {
anthropic: { cacheControl: { type: 'ephemeral' } },
},
},
],
model: wrappedModel,
})