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 <songkuan-zheng@users.noreply.github.com>
This commit is contained in:
songkuan-zheng 2026-09-11 12:55:20 +00:00
parent 0f7ae36521
commit b8f4a84a69

View file

@ -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={},