13
apps/web/src/lib/services/ai-memory.test.ts
Normal file
13
apps/web/src/lib/services/ai-memory.test.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
import { MEMORY_CATEGORIES, DEFAULT_AI_MEMORY_LEARNING } from "@adventureos/shared";
|
||||
|
||||
describe("memory constants", () => {
|
||||
it("has 20 memory categories", () => {
|
||||
expect(Object.keys(MEMORY_CATEGORIES)).toHaveLength(20);
|
||||
});
|
||||
|
||||
it("defaults learning to opt-in", () => {
|
||||
expect(DEFAULT_AI_MEMORY_LEARNING.learningEnabled).toBe(false);
|
||||
expect(DEFAULT_AI_MEMORY_LEARNING.requireApproval).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user