Users hel_Sinki and Michael12 reported a bug in the Discourse AI plugin with Gemini integration: analyzing posts containing images triggers the error “no implicit conversion of Array into String.” Text-only posts work normally. hel_Sinki noted the issue occurs only with the default “creative” bot, while custom bots handle images correctly. sam requested configuration details and advised using non-preview Gemini models. hel_Sinki confirmed the issue was resolved after removing RAG (Retrieval-Augmented Generation) configuration. sam credited Roman for fixing the RAG-related bug and closed the issue. The problem appears tied to how image data is processed in combination with RAG settings, not the core image handling itself.
I’ve encountered an issue while using the Discourse AI plugin with Gemini integration. When I try to analyze posts that contain images, I get the following error message: