Skip to content

Commit 7606512

Browse files
authored
Merge pull request #12 from kevincojean/fix/session-bloat-issue-11
2 parents 90dec1b + ff3517d commit 7606512

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/services/user-memory-learning.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,12 @@ Use the update_user_profile tool to save the ${existingProfile ? "updated" : "ne
227227
},
228228
};
229229

230-
const result = await provider.executeToolCall(systemPrompt, context, toolSchema, "user-profile");
230+
const result = await provider.executeToolCall(
231+
systemPrompt,
232+
context,
233+
toolSchema,
234+
`user-profile-${Date.now()}`
235+
);
231236

232237
if (!result.success || !result.data) {
233238
throw new Error(result.error || "Failed to analyze user profile");

0 commit comments

Comments
 (0)