diff --git a/litellm/types/rerank.py b/litellm/types/rerank.py index b4765c0e6a..d016021fb8 100644 --- a/litellm/types/rerank.py +++ b/litellm/types/rerank.py @@ -22,7 +22,7 @@ class RerankRequest(BaseModel): class RerankResponse(BaseModel): id: str results: List[dict] # Contains index and relevance_score - meta: dict # Contains api_version and billed_units + meta: Optional[dict] = None # Contains api_version and billed_units # Define private attributes using PrivateAttr _hidden_params: dict = PrivateAttr(default_factory=dict)