fix: allow anonymousTelemetryId in openclaw.json config (#4826)

Co-authored-by: parteeksachdeva-123 <parteek.sachdeva@aerchain.io>
This commit is contained in:
Parteeksachdeva
2026-04-14 17:31:28 +05:30
committed by GitHub
co-authored by parteeksachdeva-123
parent fe3f7ae618
commit 57f944e18a
4 changed files with 15 additions and 0 deletions
+5
View File
@@ -88,6 +88,11 @@ describe("mem0ConfigSchema.parse() — defaults", () => {
const cfg = mem0ConfigSchema.parse({ apiKey: "test-key" });
expect(cfg.skills).toBeUndefined();
});
it("allows anonymousTelemetryId", () => {
const cfg = mem0ConfigSchema.parse({ apiKey: "test-key", anonymousTelemetryId: "123" });
expect(cfg.anonymousTelemetryId).toBe("123");
});
});
// ---------------------------------------------------------------------------