Hello,
I'm new to this community. Recently, I wanted to develop an answering community. While researching on the internet, I came across this Apache Answer. I successfully completed installing it. But, I can't add Gemini as a AI assistant. I get this error:
failed to get AI models, response: { "error": { "code": 401, "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "status": "UNAUTHENTICATED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", "metadata": { "method": "google.ai.generativelanguage.v1.ModelService.ListModels", "service": "generativelanguage.googleapis.com" } } ] } }
This was the API host I used: https://generativelanguage.googleapis.com
I had to write a custom proxy server to even get the test working.
Any help would be great.