I’m using the TypeScript client weaviate-client
to be used with Google Gemini.
Why is it that the client is refusing to accept gemini-2.5-flash
as the model? It is the latest.
The options that the client is listing are all outdated.
This is the actual error message:
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"module 'generative-google': gemini-2.5-flash is not supported available models are: [chat-bison-001 gemini-pro gemini-ultra gemini-1.5-flash-latest gemini-1.5-pro-latest chat-bison chat-bison-32k chat-bison@002 chat-bison-32k@002 chat-bison@001 gemini-1.5-pro-preview-0514 gemini-1.5-pro-preview-0409 gemini-1.5-flash-preview-0514 gemini-1.0-pro-002 gemini-1.0-pro-001 gemini-1.0-pro]"}]}