fix: 增加更多Gemini不支持多模态输出的情况
This commit is contained in:
@@ -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()} 不支持多模态输出,降级为文本模态"
|
||||
|
||||
Reference in New Issue
Block a user