Compare commits

...

1 Commits

Author SHA1 Message Date
Dayuan Jiang
834359cff3 fix: improve image not supported error detection for DeepSeek 2025-12-31 00:10:18 +09:00

View File

@@ -335,7 +335,10 @@ export default function ChatPanel({
} }
// Translate image not supported error // Translate image not supported error
if (friendlyMessage.includes("image content block")) { if (
friendlyMessage.includes("image content block") ||
friendlyMessage.toLowerCase().includes("image_url")
) {
friendlyMessage = "This model doesn't support image input." friendlyMessage = "This model doesn't support image input."
} }