GabrielMoraru 34 Posted April 8 (edited) Hi I can connect to the AI via a curl script, but I cannot from the IDE. When I click the "model" edit box I get: Quote Cannot load the latest available models, please check the Api key and the Base url. Error: 404 - Not Found Edited April 9 by GabrielMoraru Share this post Link to post
salvadordf 37 Posted April 9 (edited) I haven't tried to connect the IDE to Gemini AI but for normal applications try using FB4D Edited April 9 by salvadordf Share this post Link to post
GabrielMoraru 34 Posted April 9 6 minutes ago, salvadordf said: I haven't tried to connect the IDE to Gemini AI but for normal applications try using FB4D I don't know how this will help me. I want to ask the AI questions, directly from the IDE. I have never used this kind of plugin and I want to try it now. So, I use Delphi's embedded support for this (in IDE -> Options -> Smart code design). Share this post Link to post
GabrielMoraru 34 Posted April 9 2 hours ago, gkobler said: May you use the wrong BaseURL i think Yes. That was the problem. I already posted the solution (correct base URL) here. Share this post Link to post
TomF 3 Posted April 10 In your linked post it's not clear what BaseURL to use. I used this one "https://generativelanguage.googleapis.com/v1beta" and it works. Maybe you could update your post. Share this post Link to post