Google Generative AI API issues #3390
Unanswered
sanjin1985
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1、I am using a MacBook. I installed Flowise with “npm install -g flowise” and started it with “npx flowise start”.


2、I created chatflows. Using the local large model Ollama, I can chat.
3、When I use Google Generative AI, I get this error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:streamGenerateContent?alt=sse: fetch failed.
4、I set the proxy in the terminal as HTTP_PROXY=http://127.0.0.1:2334/ and HTTPS_PROXY=http://127.0.0.1:2334/. In the terminal, testing the API is accessible, but it doesn't work in Flowise. I can't find the network proxy configuration file of Flowise. The code downloaded through NPM doesn't seem to have the same organizational structure as that in GitHub. Please give me some advice. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions