[Rust Frontend] Add DeepSeek V3.2 roundtrip fixture (#47619)
Signed-off-by: reidliu41 <reid201711@gmail.com>
Reid committed
Jul 7, 2026 at 10:47 UTC
a46c9329e5877962f9169af559ddd60b43e932cc
1 file changed
+14
rust/src/chat/tests/roundtrip.rs
+14
@@ -130,6 +130,19 @@ impl RoundtripCase {
130
}
131
}
132
133
+ /// DeepSeek V3.2 DSML tool-call format.
134
+ fn deepseek_v32() -> Self {
135
+ Self {
136
+ model_id: "deepseek-ai/DeepSeek-V3.2-Exp",
137
+ assistant_stop_suffix: "<|end▁of▁sentence|>",
138
+ tool_call_parser: ParserSelection::Auto,
139
+ reasoning_parser: ParserSelection::Auto,
140
+ thinking_behavior: ThinkingBehavior::Toggleable { default: false },
141
+ json_fmt: compact_json_fmt(),
142
+ sort_json_keys: false,
143
+ }
144
+ }
145
+
146
/// GLM-4.7 XML-like argument format with `<think>` reasoning tags.
147
fn glm47() -> Self {
148
Self {
@@ -235,6 +248,7 @@ roundtrip_tests! {
248
qwen35 => [reasoning_and_content, tool_call_mix],
249
minimax_m25 => [reasoning_and_content, tool_call_mix],
250
deepseek_v4 => [reasoning_and_content, tool_call_mix],
251
+ deepseek_v32 => [tool_call_mix],
252
glm47 => [reasoning_and_content, tool_call_mix],
253
seed_oss => [reasoning_and_content],
254
step3p5 => [reasoning_and_content],