* fix(rerank): properly use LiteLLM api key when reranking through proxy (#8873) `litellm.api_key` wasn't used as an option when calling the rerank API. As a result, using rerank with custom_llm_provider="litellm_proxy" always resulted in the following error: Cohere API key is required. Please set 'COHERE_API_KEY' or 'CO_API_KEY' or 'litellm.cohere_key' * feat(model_prices_and_context_window.json): add new gpt-4.5-preview model --------- Co-authored-by: Enzo Aguado <enzo@aguado.me> |
||
|---|---|---|
| .. | ||
| main.py | ||
| rerank_utils.py | ||