Skip to content

Commit 849c385

Browse files
author
Sami Rusani
committed
fix(config): regenerate schema for group history limit
1 parent 8c60bfa commit 849c385

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/config/schema.base.generated.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6110,7 +6110,7 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
61106110
},
61116111
historyLimit: {
61126112
type: "integer",
6113-
exclusiveMinimum: 0,
6113+
minimum: 0,
61146114
maximum: 9007199254740991,
61156115
},
61166116
},
@@ -17702,7 +17702,7 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
1770217702
},
1770317703
historyLimit: {
1770417704
type: "integer",
17705-
exclusiveMinimum: 0,
17705+
minimum: 0,
1770617706
maximum: 9007199254740991,
1770717707
title: "Group History Limit",
1770817708
description:

‎src/config/zod-schema.core.regressions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest";
22
import { GroupChatSchema } from "./zod-schema.core.js";
33

44
describe("GroupChatSchema historyLimit", () => {
5-
it("accepts zero to disable group history", () => {
5+
it("accepts zero to signal unlimited history", () => {
66
expect(() => GroupChatSchema.parse({ historyLimit: 0 })).not.toThrow();
77
});
88

0 commit comments

Comments
 (0)