Skip to content

Commit 0aef300

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(knowledge): update tests for current search input interface
1 parent d5f394c commit 0aef300

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/sim/lib/workflows/subblocks/display.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ vi.mock('@/blocks', () => ({
99
}))
1010

1111
import {
12+
getDisplayValue,
1213
resolveDropdownLabel,
1314
resolveFallbackModelsLabel,
1415
resolveFolderPathLabel,

‎apps/sim/tools/knowledge/knowledge.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe('Knowledge Tools', () => {
183183
expectedIdentifier: { tagId: 'tag-definition-id' },
184184
},
185185
])('normalizes the actual $mode UI filter shape', ({ filter, expectedIdentifier }) => {
186-
const body = knowledgeSearchTool.request.body({
186+
const body = knowledgeSearchTool.operation.input({
187187
knowledgeBaseId: 'kb-123',
188188
tagFilters: JSON.stringify([filter]),
189189
})

0 commit comments

Comments
 (0)