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:
Ik loop tegen hetzelfde probleem aan. Posts die alleen tekst bevatten werken prima, maar als er een afbeelding in de post staat, krijg ik dezelfde “no implicit conversion of Array into String” foutmelding.
Uit de foutmelding lijkt het erop dat iets in de afbeeldingsgegevens de plugin of Gemini in de war brengt. Misschien worden de afbeeldingsgegevens op een manier verzonden die de API niet verwacht.
Goed om te weten dat het alleen gebeurt bij bepaalde bots. Hopelijk wordt dit snel opgelost.