Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion tests/unit/ts7-executor-shared-shapes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>;

Expand Down
Loading