Skip to content

Codebase Indexing: Add Google Gemini as provider #3967

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

Open
4 tasks done
ChuKhaLi opened this issue May 25, 2025 · 3 comments · May be fixed by #3971
Open
4 tasks done

Codebase Indexing: Add Google Gemini as provider #3967

ChuKhaLi opened this issue May 25, 2025 · 3 comments · May be fixed by #3971
Labels
enhancement New feature or request Issue - In Progress Someone is actively working on this. Should link to a PR soon.

Comments

@ChuKhaLi
Copy link

ChuKhaLi commented May 25, 2025

What problem does this proposed feature solve?

Codebase indexing only support OpenAI and Ollama. Google Gemini also support embeddings. see https://ai.google.dev/gemini-api/docs/embeddings

Describe the proposed solution in detail

We should add Gemini/Vertex as provider for codebase indexing

Technical considerations or implementation details (optional)

No response

Describe alternatives considered (if any)

No response

Additional Context & Mockups

No response

Proposal Checklist

  • I have searched existing Issues and Discussions to ensure this proposal is not a duplicate.
  • This proposal is for a specific, actionable change intended for implementation (not a general idea).
  • I understand that this proposal requires review and approval before any development work begins.

Are you interested in implementing this feature if approved?

  • Yes, I would like to contribute to implementing this feature.
@ChuKhaLi
Copy link
Author

Pr, still In progress #3971

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label May 27, 2025
@bitnom
Copy link

bitnom commented May 28, 2025

Pr, still In progress #3971

This is super important due to the outstanding performance of gemini-embedding-exp-03-07. I'm in full support of PR.

Please ensure that your PR supports this model and not just the text-embedding-00x models.

Image

https://ai.google.dev/gemini-api/docs/models#gemini-embedding

Let us know if you need additional contribution to the draft at any point.

@hannesrudolph hannesrudolph moved this from Triage to Issue [In Progress] in Roo Code Roadmap May 28, 2025
@ChuKhaLi
Copy link
Author

Hello @bitnom The pr is ready. However I can't test the model gemini-embedding-exp-03-07, I always get 429 errors, although I did implement rate limit logic
The other models works fine to me
Can you test the model gemini-embedding-exp-03-07

@hannesrudolph hannesrudolph added Issue - In Progress Someone is actively working on this. Should link to a PR soon. and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Issue - In Progress Someone is actively working on this. Should link to a PR soon.
Projects
Status: Issue [In Progress]
Development

Successfully merging a pull request may close this issue.

3 participants