screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

[question] set up ‘ai settings’ config Gemini API issues !!!

Open xqy281 opened this issue 7 months ago • 7 comments

your question I tried to configure my third-party API configuration in "ai settings". I imported Gemin because it allows 1 million contexts. But I have been unable to obtain a usable AI model.

Is it currently not supported to access Gemini's API? Or is there something missing in my configuration?

Image

xqy281 avatar May 15 '25 08:05 xqy281

I found a URL that allowed me to get a list of models, but I got an error when generating an AI response.

Image

Image

They said it was a CORS issue, saying that Gemini's API does not allow cross-domain calls in browsers, which I don't quite understand. So is this a bug?

xqy281 avatar May 16 '25 07:05 xqy281

which pipe are you using?

some pipes backend is using dangerously code to do ai request from client side, which is prohibited by google gemini. if you use any other ai it'll work!!

tribhuwan-kumar avatar May 16 '25 15:05 tribhuwan-kumar

which pipe are you using?

some pipes backend is using dangerously code to do ai request from client side, which is prohibited by google gemini. if you use any other ai it'll work!!

The 'Search pipe' plugin, Are there any other replace pipe plugins?

Image

xqy281 avatar May 16 '25 23:05 xqy281

I have solved this problem by using AI to write a middle-level proxy service, which allows the Gemini API to connect to the screenpipe's 'Search pipe'. You can study it if you need it. gemini_openai_proxy

xqy281 avatar May 25 '25 06:05 xqy281

I have solved this problem by using AI to write a middle-level proxy service, which allows the Gemini API to connect to the screenpipe's 'Search pipe'. You can study it if you need it. gemini_openai_proxy

I installed your proxy. But how do I use it in screenpipe? Like this?

Image

Minoo7 avatar Jun 09 '25 09:06 Minoo7

Nevermind, I solved it by removing /models from url ofc. Thanks

Minoo7 avatar Jun 09 '25 09:06 Minoo7

I have same problem

GrinZero avatar Nov 10 '25 17:11 GrinZero