fix: correct parameter names in MemoryDiffRenderer for str_replace (#558)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-15 19:05:52 -08:00
committed by GitHub
parent dac6070587
commit 9c29451559

View File

@@ -39,8 +39,8 @@ export function MemoryDiffRenderer({
switch (command) {
case "str_replace": {
const oldStr = args.old_str || "";
const newStr = args.new_str || "";
const oldStr = args.old_string || args.old_str || "";
const newStr = args.new_string || args.new_str || "";
return (
<MemoryStrReplaceDiff
blockName={blockName}