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

Does this repo support Gemini API instead of OpenAI's GPT-4 API? #96

Open
truongnh1992 opened this issue Oct 21, 2024 · 5 comments
Open

Comments

@truongnh1992
Copy link

Hi,
The repo ai-codereviewer currently uses a GPT model for code analysis. Is it possible to use the Gemini model instead?

@MrMasrozYTLIVE
Copy link

Hi, The repo ai-codereviewer currently uses a GPT model for code analysis. Is it possible to use the Gemini model instead?

After checking the code: yes. But you must fork the repo, modify it to use https://github.com/google-gemini/generative-ai-js instead of OpenAI library and then builld it yourself

@kylebrowning
Copy link

So no then? haha

@MrMasrozYTLIVE
Copy link

So no then? haha

Its a yes. You must modify the src to use gemini instead of openai, but it's possible to do

@kylebrowning
Copy link

The question was does this repo support Gemini, and the answer to that is no unless you fork it.

@MrMasrozYTLIVE
Copy link

The question was does this repo support Gemini, and the answer to that is no unless you fork it.

Oh my bad. Yeah then its a no

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

No branches or pull requests

3 participants