Config: add compaction schema regression

This commit is contained in:
Ted Li
2026-04-17 20:58:55 -07:00
committed by Mason Huang
parent 880c489b01
commit 67419ea994

View File

@@ -145,6 +145,19 @@ describe("config schema regressions", () => {
expect(res.ok).toBe(true);
});
it("accepts agents.defaults.compaction.truncateAfterCompaction", () => {
const res = validateConfigObject({
agents: {
defaults: {
compaction: {
truncateAfterCompaction: true,
},
},
},
});
expect(res.ok).toBe(true);
});
it("accepts string values for agents defaults model inputs", () => {
const res = validateConfigObject({
agents: {