The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
refactor(dashscope): tighten supported params return type
Devin AI2b6c30c2d931
diff --git a/litellm/llms/dashscope/chat/transformation.py b/litellm/llms/dashscope/chat/transformation.pyindex 977bb38f59a..04d530ea89b 100644--- a/litellm/llms/dashscope/chat/transformation.py+++ b/litellm/llms/dashscope/chat/transformation.py@@ -12,7 +12,7 @@ from ...openai.chat.gpt_transformation import OpenAIGPTConfigclass DashScopeChatConfig(OpenAIGPTConfig):- def get_supported_openai_params(self, model: str) -> list: # mutable-ok: base class contract returns a list+ def get_supported_openai_params(self, model: str) -> list[str]: # mutable-ok: base class contract returns a listreturn [ # mutable-ok: base class contract returns a list*super().get_supported_openai_params(model=model),"reasoning_effort",