diff --git a/litellm/llms/deepseek/chat/transformation.py b/litellm/llms/deepseek/chat/transformation.py index 045a44822f3..ae8d33eeb5e 100644 --- a/litellm/llms/deepseek/chat/transformation.py +++ b/litellm/llms/deepseek/chat/transformation.py @@ -139,9 +139,9 @@ class DeepSeekChatConfig(OpenAIGPTConfig): def _downgrade_json_schema_to_json_object( self, model: str, - messages: List[AllMessageValues], + messages: list[AllMessageValues], optional_params: dict, - ) -> Tuple[List[AllMessageValues], dict]: + ) -> tuple[list[AllMessageValues], dict]: """ DeepSeek's /chat/completions rejects `response_format={"type": "json_schema"}` with "This response_format type is unavailable now" — no DeepSeek model