Not working for me
Please help
Hey! did u add the API key on the settings page? can you give me more details :)
Yes Sure. And I use the same key successfully with my own Python Programs. My Obsydian is Version 1.10.3. Same Problem on the Android Obsidian...
Thanks. Martin.
Hello, it does not work for me neither
@acekinq @martinklein Hey, could you both take a look and uninstall and reinstall the latest version 1.0.7? Once you’re done, let me know how it goes! It’s working great for me.
Oh, and just a heads-up, make sure you’ve pasted your Google Gemini API key in the settings page. Thanks!
Just to make sure, I again uninstalled and installed and configured the API key and checked, and it works. The only thing it couldn’t work and give you that red box is an invalid API key.
Sorry but I uninstalled, reinstalled and again pasted my api key but same result:
Are u sure API key is working?
Note: I was seeing this too, but it wasn't because of a missing API key. It was because the plugin's default Gemini model was obsolete. I had to find the "model code" for a current model, and then the chat worked.
From Inspector:
models/gemini-2.0-flash-exp is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.
@0xneobyte
Note: I was seeing this too, but it wasn't because of a missing API key. It was because the plugin's default Gemini model was obsolete. I had to find the "model code" for a current model, and then the chat worked.
From Inspector:
models/gemini-2.0-flash-exp is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.
Thanks! will update this ASAP
Hey everyone, thank you so much for your patience and for helping track this down, especially @daughtkom for identifying the root cause! 🙌
The issue was that the default Gemini model (gemini-2.0-flash-exp) was deprecated and removed from the API, which caused the error on first launch with no clear indication it wasn't an API key problem.
This is now fixed in v1.0.10, the default model has been updated to gemini-2.5-flash. Please update the plugin and it should work right out of the box without any extra configuration.
Thanks again for reporting! 🎉 @martinklein @acekinq