Skip to content

Build and run agents you can see, understand and trust.

feat(dashscope): add qwen3.7-plus, deepseek-v4-pro and glm-5.2 for `DashScopeChatModel` (#2073)

qbcf91cb5d38057
diff --git a/src/agentscope/model/_dashscope/_models/deepseek-v4-pro.yaml b/src/agentscope/model/_dashscope/_models/deepseek-v4-pro.yaml
new file mode 100644
index 000000000..0b2c4166b
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/deepseek-v4-pro.yaml
@@ -0,0 +1,20 @@
+name: deepseek-v4-pro
+label: DeepSeek V4 Pro
+status: active
+
+input_types:
+ - text/plain
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 384000
+
+parameter_overrides:
+ max_tokens: {"maximum": 384000}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_dashscope/_models/glm-5.2.yaml b/src/agentscope/model/_dashscope/_models/glm-5.2.yaml
new file mode 100644
index 000000000..129a89e84
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/glm-5.2.yaml
@@ -0,0 +1,20 @@
+name: glm-5.2
+label: GLM 5.2
+status: active
+
+input_types:
+ - text/plain
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 128000
+
+parameter_overrides:
+ max_tokens: {"maximum": 128000}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true
diff --git a/src/agentscope/model/_dashscope/_models/qwen3.7-plus.yaml b/src/agentscope/model/_dashscope/_models/qwen3.7-plus.yaml
new file mode 100644
index 000000000..5b3068bb4
--- /dev/null
+++ b/src/agentscope/model/_dashscope/_models/qwen3.7-plus.yaml
@@ -0,0 +1,28 @@
+name: qwen3.7-plus
+label: Qwen3.7-Plus
+status: active
+
+input_types:
+ - text/plain
+ - application/x-thinking
+ - image/bmp
+ - image/jpeg
+ - image/png
+ - image/tiff
+ - image/webp
+ - image/heic
+ - video/mp4
+
+output_types:
+ - text/plain
+ - application/x-thinking
+
+context_size: 1000000
+output_size: 65536
+
+parameter_overrides:
+ max_tokens: {"maximum": 65536}
+ # Voice only applies to omni-style models; hide the field for this
+ # non-omni model so the frontend popover doesn't render it.
+ voice:
+ hidden: true