@letta-ai/letta-code 0.32.8 → 0.32.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,12 +196,12 @@ function createCitationInstruction(): string {
196
196
  return `${SYSTEM_REMINDER_OPEN}\nMemory citation mod is active. If memory materially contributes to your answer, call the memory_citation_snapshot tool before your final response and include a compact "Memory references" footer using only paths returned by that tool. Do not invent memory citations. If the snapshot returns no citations, omit the footer or say that no explicit memory file reads were observed.\n${SYSTEM_REMINDER_CLOSE}`;
197
197
  }
198
198
 
199
- function appendSystemMessage(input: unknown[], text: string): unknown[] {
199
+ function appendReminderMessage(input: unknown[], text: string): unknown[] {
200
200
  return [
201
201
  ...input,
202
202
  {
203
203
  type: "message",
204
- role: "system",
204
+ role: "user",
205
205
  content: text,
206
206
  },
207
207
  ];
@@ -231,7 +231,7 @@ export function activate(letta) {
231
231
  citations: [],
232
232
  turnStartedAt: new Date().toISOString(),
233
233
  });
234
- event.input = appendSystemMessage(
234
+ event.input = appendReminderMessage(
235
235
  event.input,
236
236
  createCitationInstruction(),
237
237
  );