fix: disable llama embeddings by default, switch to opt-in via BRAIN_EMBED_ENABLE #115 - #116
Merged
Merged
Conversation
…115 - schema.ts: busy_timeout 30s, WAL checkpoint, withDbRetry helper - ingest/index.ts: yield between files, per-file BRAIN_DEBUG timing - chunker.ts: async windowChunks with yield every 50 chunks - tui.tsx: 'connecting...' default, red dot, stale detection (2s) - logger.ts: app.log structured logging, console preserved - embeddingService.ts: opt-out (BRAIN_EMBED_DISABLE), build:never - embed.ts: BRAIN_EMBED_DISABLE gate - four-opencode-brain.ts: retry on search/memory, checkpoint at startup - package.json: postinstall llama symlink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Closes #115
Summary by cubic
Switches llama embeddings to opt-in (off by default) and improves DB resilience and responsiveness so search isn’t blocked during ingest. Addresses #115.
New Features
node-llama-cppbinaries and model loading.Refactors
Migration
node-llama-cppbins (Linux x64).Written for commit 681edd1. Summary will update on new commits.