Add Voyage 4 embedding route #4

Merged
slh merged 1 commits from feat/litellm-voyage-4 into main 2026-07-17 12:24:45 +08:00
3 changed files with 12 additions and 0 deletions

2
.gitignore vendored
View File

@ -15,3 +15,5 @@ litellm/.infra-litellm-state
*.snapshot *.snapshot
*/secrets/ */secrets/
git-bridge/state/ git-bridge/state/
litellm/.env

View File

@ -75,6 +75,8 @@ services:
- git_forge - git_forge
litellm: litellm:
env_file:
- ./litellm/.env
container_name: litellm container_name: litellm
image: ghcr.io/berriai/litellm:main-latest image: ghcr.io/berriai/litellm:main-latest
restart: unless-stopped restart: unless-stopped

View File

@ -72,6 +72,14 @@ model_list:
model: xai/grok-build-0.1 model: xai/grok-build-0.1
use_xai_oauth: true use_xai_oauth: true
- model_name: voyage-4
model_info:
mode: embedding
context_window: 32000
litellm_params:
model: voyage/voyage-4
api_key: os.environ/VOYAGE_API_KEY
litellm_settings: litellm_settings:
aiohttp_trust_env: true aiohttp_trust_env: true
drop_params: true drop_params: true