fix: restore heartbeat defaults and model listing

This commit is contained in:
Peter Steinberger
2026-01-12 17:13:24 +00:00
parent f1dd59bf82
commit 355c13564c
7 changed files with 841 additions and 81 deletions

View File

@@ -803,7 +803,7 @@ describe("runCronIsolatedAgentTurn", () => {
sendMessageIMessage: vi.fn(),
};
// Long content after HEARTBEAT_OK should still be delivered.
const longContent = `Important alert: ${"a".repeat(350)}`;
const longContent = `Important alert: ${"a".repeat(400)}`;
vi.mocked(runEmbeddedPiAgent).mockResolvedValue({
payloads: [{ text: `HEARTBEAT_OK ${longContent}` }],
meta: {