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 56cb054 commit 23bd27fCopy full SHA for 23bd27f
lib/fetch-wrapper/index.ts
@@ -86,7 +86,7 @@ export function installFetchWrapper(
86
const alreadyPruned = state.prunedIds.get(sessionId) ?? []
87
const alreadyPrunedLower = new Set(alreadyPruned.map(id => id.toLowerCase()))
88
const unpruned = toolIds.filter(id => !alreadyPrunedLower.has(id.toLowerCase()))
89
- if (unpruned.length > 0) {
+ if (unpruned.length > 1) {
90
const { duplicateIds } = detectDuplicates(state.toolParameters, unpruned, config.protectedTools)
91
if (duplicateIds.length > 0) {
92
state.prunedIds.set(sessionId, [...new Set([...alreadyPruned, ...duplicateIds])])
0 commit comments