mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 15:20:42 +00:00
Config: add compaction schema regression
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user