We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8377bd commit 75f214eCopy full SHA for 75f214e
packages/agent/src/core/toolAgent.ts
@@ -212,7 +212,7 @@ function addCacheControlToContentBlocks(
212
function addCacheControlToMessages(
213
messages: Anthropic.Messages.MessageParam[],
214
): Anthropic.Messages.MessageParam[] {
215
- return messages.map((m, i) => {
+ return messages.map((m) => {
216
if (typeof m.content === 'string') {
217
return {
218
...m,
0 commit comments