mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
feat: cloud agents UX, skills fixes, memory stats, docs packaging — integrated into release/v3.8.2
26 lines
812 B
TypeScript
26 lines
812 B
TypeScript
import assert from "node:assert/strict";
|
|
import { describe, test } from "node:test";
|
|
import { DEFAULT_MEMORY_SETTINGS } from "../../src/lib/memory/settings.ts";
|
|
|
|
describe("memory settings — DEFAULT_MEMORY_SETTINGS.skillsEnabled", () => {
|
|
test("skillsEnabled defaults to true", () => {
|
|
assert.equal(DEFAULT_MEMORY_SETTINGS.skillsEnabled, true);
|
|
});
|
|
|
|
test("enabled defaults to true", () => {
|
|
assert.equal(DEFAULT_MEMORY_SETTINGS.enabled, true);
|
|
});
|
|
|
|
test("maxTokens defaults to 2000", () => {
|
|
assert.equal(DEFAULT_MEMORY_SETTINGS.maxTokens, 2000);
|
|
});
|
|
|
|
test("retentionDays defaults to 30", () => {
|
|
assert.equal(DEFAULT_MEMORY_SETTINGS.retentionDays, 30);
|
|
});
|
|
|
|
test('strategy defaults to "hybrid"', () => {
|
|
assert.equal(DEFAULT_MEMORY_SETTINGS.strategy, "hybrid");
|
|
});
|
|
});
|