• Very frustrated; I am quite sure that I carefully and accurately entered active working API keys from OpenAI as well as Google Gemini, and every test fails. There is no help guidance on this site or elsewhere to diagnose why. And the error response is too vague: “API connection failed for model “gemini-2.5-pro”. Please check the error log for detailed information. Verify your API key and model selection.”

    First of all, where is the error log?

    But also, does your help guidance and interface fail to clarify that certain models don’t work, or that there isn’t enough credit on the A.I. provider account (even though I’m on the free tier at Gemini)?

Viewing 1 replies (of 1 total)
  • Not sure if this plugin is supported anymore, but it looks like changes to the Gemini model and the thinking tokens caused an issue with the plugin.

    To fix it, edit the class-llm-service.php in the includes folder and at around line 340 change the maxOutputTokens from 300 to 2048 and that will fix the issue.

Viewing 1 replies (of 1 total)

The topic ‘Test Connection never works’ is closed to new replies.