Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for gemini models. #1049

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reharsh
Copy link

@reharsh reharsh commented Dec 25, 2024

Summary

This PR introduces support for Gemini models by leveraging their compatibility with the OpenAI API. It adds an option in the app's settings UI, allowing users to:

  • Enter their Gemini API key.
  • Select a preferred Gemini model from the following options:
    • gemini-1.5-flash
    • gemini-1.5-flash-8b
    • gemini-1.5-pro.

Fixes #1045
/claim #1045

Screenshots

Gemini gemini
Models models
Data in Search pipe dm

Copy link

vercel bot commented Dec 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
screenpipe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 6:11am

Copy link

algora-pbc bot commented Dec 25, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

@louis030195
Copy link
Collaborator

Screenshot 2024-12-26 at 9 42 36 AM

getting 403

my key is sat tho

any idea?

@louis030195 louis030195 marked this pull request as draft January 7, 2025 01:25
@tribhuwan-kumar
Copy link
Contributor

i think the error 403 is occuring because of doing request from client side, the same code works when doing request from server side. anyway i asked it a forum

@louis030195
Copy link
Collaborator

i think the error 403 is occuring because of doing request from client side, the same code works when doing request from server side. anyway i asked it a forum

but we use

dangerouslyAllowAPIKeyInBrowser: true in openai sdk tho

openai/openai-node#102

so google might not support it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bounty] support gemini in app settings
3 participants