Skip to content

Commit c52a7e4

Browse files
Change param size from > 0 to > 1
1 parent 23bd27f commit c52a7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fetch-wrapper/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function installFetchWrapper(
8181

8282
// Run deduplication after handlers have populated toolParameters cache
8383
const sessionId = state.lastSeenSessionId
84-
if (sessionId && state.toolParameters.size > 0) {
84+
if (sessionId && state.toolParameters.size > 1) {
8585
const toolIds = Array.from(state.toolParameters.keys())
8686
const alreadyPruned = state.prunedIds.get(sessionId) ?? []
8787
const alreadyPrunedLower = new Set(alreadyPruned.map(id => id.toLowerCase()))

0 commit comments

Comments
 (0)