From 5dba9598e95ff506a21a03be1253b355492dfaab Mon Sep 17 00:00:00 2001 From: Moe Khalil Date: Wed, 28 Oct 2026 02:37:09 +0000 Subject: [PATCH] fix(huggingface): keep TEI truncate options provider-specific Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/types/rerank.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/types/rerank.py b/litellm/types/rerank.py index 5b1d7ef0a7b..6d1ab85012b 100644 --- a/litellm/types/rerank.py +++ b/litellm/types/rerank.py @@ -48,8 +48,6 @@ class OptionalRerankParams(TypedDict, total=False): max_chunks_per_doc: int | None max_tokens_per_doc: int | None instruction: str | None - truncate: ReadOnly[bool] - truncation_direction: ReadOnly[str | None] truncate_prompt_tokens: ReadOnly[int | None] truncation_side: ReadOnly[Literal["left", "right"] | None] max_tokens_per_query: ReadOnly[int | None]