From b8f4a84a6990988618f3b30b69406b8dd739752f Mon Sep 17 00:00:00 2001 From: songkuan-zheng <252822057+songkuan-zheng@users.noreply.github.com> Date: Fri, 11 Sep 2026 12:55:20 +0000 Subject: [PATCH] test(dashscope): type the thinking params test helper Co-authored-by: songkuan-zheng <252822057+songkuan-zheng@users.noreply.github.com> Co-authored-by: songkuan-zheng --- .../llms/dashscope/test_dashscope_chat_transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/llms/dashscope/test_dashscope_chat_transformation.py b/tests/test_litellm/llms/dashscope/test_dashscope_chat_transformation.py index fbc2b0b47a7..e74fd6d10c8 100644 --- a/tests/test_litellm/llms/dashscope/test_dashscope_chat_transformation.py +++ b/tests/test_litellm/llms/dashscope/test_dashscope_chat_transformation.py @@ -193,7 +193,7 @@ class TestDashScopeThinkingParams: """thinking and reasoning_effort reach DashScope as enable_thinking, thinking_budget and reasoning_effort.""" @staticmethod - def _map(**non_default_params) -> dict: + def _map(**non_default_params: object) -> dict[str, object]: return DashScopeChatConfig().map_openai_params( non_default_params=non_default_params, optional_params={},