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

@@ -52,7 +52,7 @@ describe("stripHeartbeatToken", () => {
});
it("keeps heartbeat replies when remaining content exceeds threshold", () => {
const long = "A".repeat(350);
const long = "A".repeat(400);
expect(
stripHeartbeatToken(`${long} ${HEARTBEAT_TOKEN}`, { mode: "heartbeat" }),
).toEqual({