Skip to content

Commit 7e5e5b6

Browse files
committed
fix(knowledge): align document tag value contract
1 parent 58dfe1b commit 7e5e5b6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/sim/lib/copilot/generated/tool-catalog-v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,9 +2365,9 @@ export const KnowledgeBase: ToolCatalogEntry = {
23652365
type: 'string',
23662366
description: 'Tag display name as returned by list_tags',
23672367
},
2368-
tagValue: { type: ['string', 'number', 'boolean'], description: 'Typed tag value' },
2368+
value: { type: ['string', 'number', 'boolean'], description: 'Typed tag value' },
23692369
},
2370-
required: ['tagName', 'tagValue'],
2370+
required: ['tagName', 'value'],
23712371
},
23722372
},
23732373
enabled: {

apps/sim/lib/copilot/generated/tool-schemas-v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,12 +2170,12 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
21702170
type: 'string',
21712171
description: 'Tag display name as returned by list_tags',
21722172
},
2173-
tagValue: {
2173+
value: {
21742174
type: ['string', 'number', 'boolean'],
21752175
description: 'Typed tag value',
21762176
},
21772177
},
2178-
required: ['tagName', 'tagValue'],
2178+
required: ['tagName', 'value'],
21792179
},
21802180
},
21812181
enabled: {

apps/sim/lib/copilot/tools/server/knowledge/knowledge-base.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ describe('knowledge base Copilot operations', () => {
241241
documentTags: [
242242
{
243243
tagName: 'identity_key',
244-
tagValue: 'dana@example.com',
244+
value: 'dana@example.com',
245245
},
246246
],
247247
},

0 commit comments

Comments
 (0)