Skip to content

Commit 75f214e

Browse files
committed
fix lint error
1 parent f8377bd commit 75f214e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/agent/src/core/toolAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function addCacheControlToContentBlocks(
212212
function addCacheControlToMessages(
213213
messages: Anthropic.Messages.MessageParam[],
214214
): Anthropic.Messages.MessageParam[] {
215-
return messages.map((m, i) => {
215+
return messages.map((m) => {
216216
if (typeof m.content === 'string') {
217217
return {
218218
...m,

0 commit comments

Comments
 (0)