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

Add vertex_ai/gemini-2.0-flash-exp #1466

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Conversation

yu-iskw
Copy link
Contributor

@yu-iskw yu-iskw commented Jan 20, 2025

User description

The model is still experimental. However, it would be worthwhile to support it.

https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2


PR Type

Enhancement


Description

  • Added support for the experimental vertex_ai/gemini-2.0-flash-exp model.

  • Updated the token limit configuration for the new model.


Changes walkthrough 📝

Relevant files
Enhancement
__init__.py
Add `vertex_ai/gemini-2.0-flash-exp` to token limits         

pr_agent/algo/init.py

  • Added vertex_ai/gemini-2.0-flash-exp to the token limit dictionary.
  • Set the token limit for the new model to 1048576.
  • +1/-0     

    Need help?
  • Type /help how to ... in the comments thread for any question about Qodo Merge usage.
  • Check out the documentation for more information.
  • @yu-iskw yu-iskw marked this pull request as ready for review January 20, 2025 09:32
    Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🏅 Score: 95
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ No major issues detected

    Copy link
    Contributor

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    @mrT23
    Copy link
    Collaborator

    mrT23 commented Jan 20, 2025

    cool

    @mrT23 mrT23 merged commit 2f2cdd7 into qodo-ai:main Jan 20, 2025
    2 checks passed
    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.

    2 participants