Drop incompatible encoding format for Voyage embeddings #9

Merged
slh merged 1 commits from fix/voyage-encoding-format into main 2026-07-17 23:10:00 +08:00
Collaborator

Mem0's OpenAI client sends encoding_format=float, while Voyage accepts only base64. Configure only the voyage-4 LiteLLM route to drop encoding_format; no global parameter policy changes. A live preflight with additional_drop_params returned a 1024-value Voyage 4 embedding. Production LiteLLM is not restarted by this PR.

Mem0's OpenAI client sends `encoding_format=float`, while Voyage accepts only `base64`. Configure only the `voyage-4` LiteLLM route to drop `encoding_format`; no global parameter policy changes. A live preflight with `additional_drop_params` returned a 1024-value Voyage 4 embedding. Production LiteLLM is not restarted by this PR.
git-bridge added 1 commit 2026-07-17 18:15:28 +08:00
slh approved these changes 2026-07-17 23:09:55 +08:00
slh merged commit de0af51d42 into main 2026-07-17 23:10:00 +08:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: slh/infra#9
No description provided.