test: lock DeepSeek max effort passthrough

This commit is contained in:
Atish Patel
2026-08-18 13:32:42 -05:00
parent a075619f47
commit 1e83943d3c

View File

@@ -2050,6 +2050,18 @@ mod tests {
);
}
#[test]
fn normalize_effort_for_databricks_v2_deepseek_max_passes_through() {
assert_eq!(
normalize_effort_for_databricks_v2(
ThinkingEffort::Max,
"databricks-deepseek-v4-flash-0731",
),
ThinkingEffort::Max,
"the validated DeepSeek max condition must not inherit the unknown-model xhigh clamp"
);
}
// ---- normalize_effort_for_anthropic_route ----
#[test]