mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +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()
|
detail = cls._exception_detail_text(error).lower()
|
||||||
if "no endpoints found that support image input" in detail:
|
if "no endpoints found that support image input" in detail:
|
||||||
return True
|
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:
|
if "image input" not in detail and "images" not in detail:
|
||||||
return False
|
return False
|
||||||
return any(
|
return any(
|
||||||
|
|||||||
Reference in New Issue
Block a user