fix: memory palace fails if there's a $ in memory (#1074)
This commit is contained in:
@@ -427,7 +427,7 @@ export async function generateAndOpenMemoryViewer(
|
||||
const jsonPayload = JSON.stringify(data).replace(/</g, "\\u003c");
|
||||
const html = memoryViewerTemplate.replace(
|
||||
"<!--LETTA_DATA_PLACEHOLDER-->",
|
||||
jsonPayload,
|
||||
() => jsonPayload,
|
||||
);
|
||||
|
||||
// 3. Write to ~/.letta/viewers/ with owner-only permissions
|
||||
|
||||
Reference in New Issue
Block a user