Skip to content

fix: improve model configuration for litellm gateway#345

Merged
nicoloboschi merged 2 commits intomainfrom
fix-naming
Feb 11, 2026
Merged

fix: improve model configuration for litellm gateway#345
nicoloboschi merged 2 commits intomainfrom
fix-naming

Conversation

@nicoloboschi
Copy link
Collaborator

@nicoloboschi nicoloboschi commented Feb 11, 2026

fix #340

Add missing DEFAULT_* and ENV_* constants to cross_encoder.py and embeddings.py imports:
- DEFAULT_RERANKER_COHERE_MODEL
- DEFAULT_LITELLM_API_BASE
- DEFAULT_RERANKER_LITELLM_MODEL
- DEFAULT_EMBEDDINGS_COHERE_MODEL
- DEFAULT_EMBEDDINGS_LITELLM_MODEL
- ENV_RERANKER_COHERE_MODEL

This fixes NameError failures in test-api, test-hindsight-all, and test-upgrade CI jobs.
@nicoloboschi nicoloboschi merged commit 7d95a00 into main Feb 11, 2026
27 of 28 checks passed
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.

[Feature]: Set BaseURL for Embedding, reranker and LLM models

1 participant