You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117289 Aia error with Gemini: Error: Ai Response failed: Invalid response

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 18 August 2025 16:31 BST

cgwhite

Hi, I have installed AIa 2.0 with the latest JCE version 2.9.89 and Joomla 5.3.2.  When I try to use AIa in an article I get the following response: Ai Response failed: Invalid response.  I am using the Gemini AI and have set up an API key.  If I check my user panel in Google it shows that I am getting responses with no errors reported.  Any thoughts?

Ryan

I get mixed results with Google Gemini. Sometimes on the first attempt I get an error, then if I retry I get a response, then an error, then a response. 😩

ChatGPT and Anthropic work without issue. Perhaps there is a Gemini setting that needs tweaking.

Which model are you using?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan

In the Aia parameters, try increasing the Tokens amount to 2048 or more for the Gemini 2.5 Pro model.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

cgwhite

Increased tokens to no avail.  I got a different error message:

Error: An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting

I will try a different AI model and see what that does.

Not good, both of the others want to charge me, when I already am paying for Gemini!  

Ryan

I'm working on this and I hope to have an update over the weekend. Gemini seems particularly problematic. I've not had any issues with ChatGPT or Anthropic Claude.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan

Please try Aia - Ai Assistant 2.1.0 Beta - https://www.joomlacontenteditor.net/downloads/plugins/development/editor-aia-dev

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

cgwhite

OK, that worked.  I will test it out and see how it goes.  Is it possible to talk to one of my Gems through your interface?

Ryan

At the moment, it isn’t possible to connect directly to one of your Gems (Google’s custom Gemini setups) through this interface. The Gemini API only allows access to the base models (such as Gemini 2.5 Pro or Gemini 2.5 Flash), not specific Gems.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

iamalive

Hi Ryan

 

Tried the Beta version but still get:
Error: Unsupported parameter: 'temperature' is not supported with this model.

 

Regards

David

Ryan

Apologies, I fixed this in Beta 1 but must have messed it up again in Beta 2. Should really be fixed now in Beta 3 - https://www.joomlacontenteditor.net/downloads/plugins/development/editor-aia-dev

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.