fix(agent): 识别 DeepSeek image_url 反序列化错误,修复图片不支持提示 (#5863)

This commit is contained in:
jxxghp
2026-05-30 20:15:24 +08:00
parent 5c3796bf73
commit 314ac3903c

View File

@@ -632,6 +632,8 @@ class MoviePilotAgent:
detail = cls._exception_detail_text(error).lower()
if "no endpoints found that support image input" in detail:
return True
if "unknown variant" in detail and "image_url" in detail:
return True
if "image input" not in detail and "images" not in detail:
return False
return any(