fix(providers): preserve image inputs for deepseek-flash

This commit is contained in:
Kail Tian authored and chengyongru committed 2026-09-24 10:27:32 +08:00
1 parent ecf6519ef1
commit 8cc5748464
2 files changed
+29 -10

No files matched your search

@@ -117,6 +117,7 @@ _KIMI_SERVER_MANAGED_TEMPERATURE_MODELS: frozenset[str] = frozenset({
"kimi-k2.6",
})
_DEEPSEEK_MULTIMODAL_MODELS: frozenset[str] = frozenset({
"deepseek-flash",
"deepseek-v4-flash-vision-exp",
})
_TEXT_TOOL_CALL_RE = re.compile(r"<tool_call>\s*(.*?)\s*</tool_call>", re.DOTALL)