VaultAI icon indicating copy to clipboard operation
VaultAI copied to clipboard

Not working for me

Open martinklein opened this issue 1 year ago • 10 comments

Image

Please help

martinklein avatar Nov 12 '25 20:11 martinklein

Hey! did u add the API key on the settings page? can you give me more details :)

0xneobyte avatar Nov 12 '25 21:11 0xneobyte

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.

martinklein avatar Nov 13 '25 00:11 martinklein

Hello, it does not work for me neither

acekinq avatar Nov 14 '25 15:11 acekinq

@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!

0xneobyte avatar Nov 15 '25 16:11 0xneobyte

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.

0xneobyte avatar Nov 15 '25 16:11 0xneobyte

Sorry but I uninstalled, reinstalled and again pasted my api key but same result:

Image

martinklein avatar Nov 15 '25 18:11 martinklein

Are u sure API key is working?

0xneobyte avatar Nov 23 '25 18:11 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.

@0xneobyte

daughtkom avatar Apr 09 '26 20:04 daughtkom

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

Thanks! will update this ASAP

0xneobyte avatar Apr 11 '26 13:04 0xneobyte

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

0xneobyte avatar Apr 11 '26 14:04 0xneobyte