Discourse Gemini’s embedding-001 Call error

Today found:

Trying to contact the model returned this error: { "error": { "code": 404, "message": "models/embedding-001 is not found for API version v1beta, or is not supported for embedContent. Call ListModels to see the list of available models and their supported methods.", "status": "NOT_FOUND" } }

In Discourse AI:

hmmm, i use Gemini’s gemini-embedding-001 as well and mine is working as expected with no errors.

what are your other settings:

you might not have the model set in AI_embeddings_selected_model…?

I changed to Text instead of google to void this error.

It was working but happen today.

i don’t even have the text-embedding-3-small option. is that from another model? nevermind, that is the OpenAI one. All my AI is setup on Google cloud with gemini. the only option for embedding i have is the Gemini's embedding-001 model. :thinking: