Skip to content

Commit 6b589f4

Browse files
fix: bgagent_memory
1 parent 0d3011a commit 6b589f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cdk/src/constructs/agent-memory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class AgentMemory extends Construct {
7070
super(scope, id);
7171

7272
this.memory = new agentcore.Memory(this, 'Memory', {
73-
memoryName: props?.memoryName ?? `mem_${Stack.of(this).stackName.replace(/[^a-zA-Z0-9]/g, '_')}`.slice(0, 48),
73+
memoryName: props?.memoryName ?? `bgagent_memory_${Stack.of(this).stackName.replace(/[^a-zA-Z0-9]/g, '_')}`.slice(0, 48),
7474
description: 'Cross-task interaction memory for background coding agents',
7575
expirationDuration: props?.expirationDuration ?? Duration.days(365),
7676
memoryStrategies: [

0 commit comments

Comments
 (0)