fix: correct parameter names in MemoryDiffRenderer for str_replace (#558)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user