diff --git a/litellm/llms/sap/chat/models.py b/litellm/llms/sap/chat/models.py index 4cb22adfddb..7f744c6af39 100644 --- a/litellm/llms/sap/chat/models.py +++ b/litellm/llms/sap/chat/models.py @@ -68,7 +68,7 @@ class ChatCompletionTool(BaseModel): type_: Literal["function"] = Field(default="function", alias="type") function: FunctionTool - def model_dump(self, **kwargs) -> Self: + def model_dump(self, **kwargs) -> dict: kwargs["exclude_unset"] = False return super().model_dump(**kwargs)