mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-06 15:18:58 +00:00
test(perf): trim context engine overflow fixtures
This commit is contained in:
@@ -644,7 +644,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
||||
|
||||
it("uses assembled context as the default precheck authority", async () => {
|
||||
let sawPrompt = false;
|
||||
const hugeHistory = "large raw history ".repeat(25_000);
|
||||
const hugeHistory = "large raw history ".repeat(2_000);
|
||||
|
||||
const result = await createContextEngineAttemptRunner({
|
||||
contextEngine: createTestContextEngine({
|
||||
@@ -678,7 +678,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
||||
|
||||
it("honors context engines that opt into preassembly overflow authority", async () => {
|
||||
let sawPrompt = false;
|
||||
const hugeHistory = "large raw history ".repeat(25_000);
|
||||
const hugeHistory = "large raw history ".repeat(2_000);
|
||||
|
||||
const result = await createContextEngineAttemptRunner({
|
||||
contextEngine: createTestContextEngine({
|
||||
@@ -712,7 +712,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
||||
});
|
||||
|
||||
it("snapshots pre-assembly messages before assemble even when the engine windows in place", async () => {
|
||||
const hugeHistory = "large raw history ".repeat(25_000);
|
||||
const hugeHistory = "large raw history ".repeat(2_000);
|
||||
const preassemblyMarker = { role: "user", content: hugeHistory, timestamp: 1 } as AgentMessage;
|
||||
|
||||
await createContextEngineAttemptRunner({
|
||||
|
||||
Reference in New Issue
Block a user