fix: invalid tool call ID recovery and system-reminder tag centralization (#627)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-21 20:43:35 -08:00
committed by GitHub
parent 35b0d658f3
commit 2e7fe42658
14 changed files with 367 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
import { afterEach, describe, expect, test } from "bun:test";
import { SYSTEM_REMINDER_OPEN } from "../../constants";
import { read } from "../../tools/impl/Read";
import { TestDirectory } from "../helpers/testFs";
@@ -115,7 +116,7 @@ export default box;
const result = await read({ file_path: file });
expect(result.content).toContain("<system-reminder>");
expect(result.content).toContain(SYSTEM_REMINDER_OPEN);
expect(result.content).toContain("empty contents");
});
@@ -125,7 +126,7 @@ export default box;
const result = await read({ file_path: file });
expect(result.content).toContain("<system-reminder>");
expect(result.content).toContain(SYSTEM_REMINDER_OPEN);
expect(result.content).toContain("empty contents");
});
});