mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-08 19:52:42 +08:00
fix(agent): 识别 DeepSeek image_url 反序列化错误,修复图片不支持提示 (#5863)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user