From a0ce0cf18a7b8d99c0f1427c7b4b47f20c08be82 Mon Sep 17 00:00:00 2001 From: Raven95676 Date: Wed, 16 Apr 2025 00:11:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E6=9B=B4=E5=A4=9AGemi?= =?UTF-8?q?ni=E4=B8=8D=E6=94=AF=E6=8C=81=E5=A4=9A=E6=A8=A1=E6=80=81?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/provider/sources/gemini_source.py | 1 + 1 file changed, 1 insertion(+) diff --git a/astrbot/core/provider/sources/gemini_source.py b/astrbot/core/provider/sources/gemini_source.py index e0d4b56e..79e9aae8 100644 --- a/astrbot/core/provider/sources/gemini_source.py +++ b/astrbot/core/provider/sources/gemini_source.py @@ -332,6 +332,7 @@ class ProviderGoogleGenAI(Provider): "Multi-modal output is not supported" in e.message or "Model does not support the requested response modalities" in e.message + or "only supports text output" in e.message ): logger.warning( f"{self.get_model()} 不支持多模态输出,降级为文本模态"