Skip to content

fix: auto-enable embeddings when VOYAGE_API_KEY is set#51

Merged
BYK merged 1 commit intomainfrom
fix/embeddings-auto-enable
Mar 22, 2026
Merged

fix: auto-enable embeddings when VOYAGE_API_KEY is set#51
BYK merged 1 commit intomainfrom
fix/embeddings-auto-enable

Conversation

@BYK
Copy link
Owner

@BYK BYK commented Mar 22, 2026

Removes the need to manually set search.embeddings.enabled: true in .lore.json. If VOYAGE_API_KEY is present in the environment, embeddings are automatically active.

To explicitly disable embeddings even with the key set:

{ "search": { "embeddings": { "enabled": false } } }

- Flip search.embeddings.enabled default from false to true
- isAvailable() now returns true when VOYAGE_API_KEY is set,
  unless explicitly disabled via enabled: false in .lore.json
- Remove redundant config().search.embeddings.enabled check from
  startup backfill — isAvailable() already handles it
- Users just need to set VOYAGE_API_KEY, no config change needed
@BYK BYK enabled auto-merge (squash) March 22, 2026 22:05
@BYK BYK merged commit 9031422 into main Mar 22, 2026
1 check passed
@BYK BYK deleted the fix/embeddings-auto-enable branch March 22, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant