From 314ac3903c203cd1927a646ee601b41ef92d4334 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 30 May 2026 20:15:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(agent):=20=E8=AF=86=E5=88=AB=20DeepSeek=20i?= =?UTF-8?q?mage=5Furl=20=E5=8F=8D=E5=BA=8F=E5=88=97=E5=8C=96=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=8F=90=E7=A4=BA=20(#5863)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/agent/__init__.py b/app/agent/__init__.py index 582c68be..9cdb7e1a 100644 --- a/app/agent/__init__.py +++ b/app/agent/__init__.py @@ -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(