feat(providers): add the Voyage AI embedder (#611) - #2109
Open
sloemo01 wants to merge 2 commits into
Open
Conversation
sloemo01
force-pushed
the
feat/init-custom-language-voyage
branch
from
September 3, 2026 20:40
d37f969 to
a192294
Compare
Voyage was named in the embedder registry docstring as a custom-registration example but had no module, no CLI choice, and no key resolution — the missing half of the init custom options ask (language options already exist in the advanced config). - embedding/voyage.py: VoyageEmbedder (voyage-3 default, known-model dims table, REPOWISE_EMBEDDING_DIMS override, width-mismatch guard, L2 normalize, thread-pooled SDK calls) - registry: 'voyage' built-in - cli/providers/keys.py + mcp_server/_server.py: VOYAGE_API_KEY resolution (both copies of _EMBEDDER_KEY_ENV) - cli/providers/embedders.py + ui/mode_selection.py: auto-detect VOYAGE_API_KEY and offer voyage in the advanced-config embedder prompt Tests: 6 embedder unit tests + 2 key-resolution tests; 86 embedder/init/ server tests pass.
sloemo01
force-pushed
the
feat/init-custom-language-voyage
branch
from
September 3, 2026 20:43
a192294 to
a22076e
Compare
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.
What
Fixes #611 — the Voyage half of "language + VOYAGE settings in the custom init generation options" (output language was already prompted in the advanced generation section, both via
--languageand interactively; what was missing was Voyage).Root cause
Voyage was named in the embedder registry docstring as a custom-registration example but had no module, no CLI choice, and no key resolution.
Changes
embedding/voyage.py:VoyageEmbedder(voyage-3 default 1024 dims, known-model dims table,REPOWISE_EMBEDDING_DIMSoverride, width-mismatch guard, L2 normalization, thread-pooled SDK calls)voyagebuilt-inVOYAGE_API_KEYresolution (both copies of_EMBEDDER_KEY_ENV)VOYAGE_API_KEYand offer voyage in the advanced-config embedder promptTests
Note:
test_plugin_contentis red on main itself (v0.47.0 release bug, unrelated to this PR).