diff --git a/.env.example b/.env.example index 86ea45e2e4..d0d3ee8576 100644 --- a/.env.example +++ b/.env.example @@ -3062,3 +3062,9 @@ QUOTA_STORE_DRIVER=sqlite # without a configured budget are always considered affordable. Requires the # provider_quota_state table (migration 148). # OMNIROUTE_QUOTA_AWARE_ROUTING=0 + +# ─── LOCAL CORPUS (opt-in document index) ─── +# Size of the in-memory LRU index cache for the local document corpus used by +# corpus-aware retrieval. Higher values keep more index entries hot. +# Used by: src/lib/localCorpus/configured.ts +# OMNIROUTE_CORPUS_CACHE_SIZE=5 diff --git a/tests/unit/ts7-executor-shared-shapes.test.ts b/tests/unit/ts7-executor-shared-shapes.test.ts index f12c82ab14..5e3c348ee3 100644 --- a/tests/unit/ts7-executor-shared-shapes.test.ts +++ b/tests/unit/ts7-executor-shared-shapes.test.ts @@ -14,7 +14,11 @@ const { OpencodeExecutor } = await import("../../open-sse/executors/opencode.ts" * that failed to type-check — no duplicate added here. */ -describe("OpencodeExecutor — the tools array survives the narrowing fix", () => { +// NOTE: the former truncates-to-128 guard here is superseded by +// opencode-tools-no-truncation.test.ts (#11444): tool-list limiting moved to +// chatCore truncateToolList(); the executor must forward arrays intact. + +describe("OpencodeExecutor — tools truncation survives the narrowing fix", () => { const executor = new OpencodeExecutor("opencode-go"); const CREDENTIALS = { apiKey: "k" } as Record;