Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 chore(builtin-tool-memory): missing sourceIds in manifest causing memory failure (#15113)

Nekofd985d0b691d
diff --git a/packages/builtin-tool-memory/src/manifest.ts b/packages/builtin-tool-memory/src/manifest.ts
index 19cd6f95d5c..a2827616074 100644
--- a/packages/builtin-tool-memory/src/manifest.ts
+++ b/packages/builtin-tool-memory/src/manifest.ts
@@ -241,6 +241,11 @@ export const MemoryManifest: BuiltinToolManifest = {
description: 'Concise overview of this specific memory',
type: 'string',
},
+ sourceIds: {
+ description: 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
tags: {
description: 'User defined tags that summarize the context facets',
items: { type: 'string' },
@@ -392,6 +397,11 @@ export const MemoryManifest: BuiltinToolManifest = {
description: 'Concise overview of this activity.',
type: 'string',
},
+ sourceIds: {
+ description: 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
tags: {
description: 'Model generated tags summarizing key facets of the activity.',
items: { type: 'string' },
@@ -550,6 +560,11 @@ export const MemoryManifest: BuiltinToolManifest = {
description: 'Concise overview of this specific memory',
type: 'string',
},
+ sourceIds: {
+ description: 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
tags: {
description: 'Model generated tags that summarize the experience facets',
items: { type: 'string' },
@@ -693,6 +708,12 @@ export const MemoryManifest: BuiltinToolManifest = {
type: 'string',
},
scoreConfidence: { type: 'number' },
+ sourceIds: {
+ description:
+ 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
sourceEvidence: { type: ['string', 'null'] },
type: {
enum: IDENTITY_TYPES,
@@ -748,6 +769,11 @@ export const MemoryManifest: BuiltinToolManifest = {
description: 'Concise overview of this specific memory',
type: 'string',
},
+ sourceIds: {
+ description: 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
tags: {
description: 'Model generated tags that summarize the preference facets',
items: { type: 'string' },
@@ -928,6 +954,12 @@ export const MemoryManifest: BuiltinToolManifest = {
type: ['string', 'null'],
},
scoreConfidence: { type: ['number', 'null'] },
+ sourceIds: {
+ description:
+ 'Stable source message ids that support this memory. Use [] when unavailable.',
+ items: { type: 'string' },
+ type: ['array', 'null'],
+ },
sourceEvidence: { type: ['string', 'null'] },
type: {
description: `Possible values: ${IDENTITY_TYPES.join(' | ')}`,