hel_Sinki
(hel Sinki)
27 ביוני, 2025, 3:22pm
1
Hi everyone,
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:
no implicit conversion of Array into String
What happens
If the post only contains text, everything works as expected.
If the post includes an image , the analysis fails with this error.
Environment
Installed 3.5.0.beta8-dev (70dbb95041 )
Thanks for your help!
לייק 1
hel_Sinki
(hel Sinki)
28 ביוני, 2025, 12:40am
2
When I include an image in a public post, Gemini returns no reply,
when I send it via private message, the AI reports the error shown above.
The same behavior occurs across multiple AI models.
Only the default “creative” bot produces the above error; other custom AI bot can successfully recognize the image and respond normally.
Michael12
(Michael Phillips)
28 ביוני, 2025, 3:22am
3
אני נתקל באותה בעיה. פוסטים המכילים רק טקסט עובדים בסדר, אבל אם יש תמונה בפוסט, אני מקבל את אותה שגיאה “אין המרה מרומזת של מערך למחרוזת”.
מהודעת השגיאה, נראה שמשהו בנתוני התמונה מבלבל את התוסף או את Gemini.
אולי הוא שולח את מידע התמונה באופן שה-API לא מצפה לו.
טוב לדעת שזה קורה רק עם בוטים מסוימים. בתקווה, זה יסתדר בקרוב.
sam
(Sam Saffron)
2 ביולי, 2025, 1:56am
4
I am having trouble with a repro here, using creative with images enabled:
Can you share how your LLM is configured, be sure to use the non preview 2.0 / 2.5 flash model now that it is released.
hel_Sinki
(hel Sinki)
2 ביולי, 2025, 2:34am
5
מאושר: לאחר שהסרתי את תצורת ה-RAG, פונקציונליות ניתוח התמונות חזרה לקדמותה. תודה על העזרה!
לייק 1
sam
(Sam Saffron)
2 ביולי, 2025, 2:38am
6
@Roman_Rizzi תיקן את בעיות ה-RAG, אז אני מניח שהכל בסדר עכשיו, תודה על הדיווח!
2 לייקים