Add support for Gemini 2.5 models#29
Open
JulianPscheid wants to merge 6 commits intoleancodepl:mainfrom
Open
Conversation
…0-flash-lite, and gpt4o-mini. Update README and changelog accordingly.
…i 1.0 Pro references
- Add Gemini 2.5 Pro, Flash, and Flash-Lite models - Update default Gemini model to 2.5 Flash - Update documentation and bump version to 1.3.0 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add Gemini 2.5 models to switch statements in GeminiTranslationDelegate - Update default model in argument parser to Gemini 2.5 Flash - Fix ArgumentError when using new Gemini 2.5 models 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@JulianPscheid kindly create new package and publish it current author did not replying on any issues |
|
Thank you for your support 🙏 I have successfully used this Gemini 2.5 compatible version with the command below 👍 dart pub global activate -sgit https://github.com/JulianPscheid/arb_translate --git-ref c8c0b31623956e545172e0bdf9ef0242c49e0f7d |
|
Thanks for your work @JulianPscheid , I also used your forked version as temp solution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Added Gemini 2.5 models to the Model enum:
gemini-2.5-pro(Gemini 2.5 Pro)gemini-2.5-flash(Gemini 2.5 Flash)gemini-2.5-flash-lite(Gemini 2.5 Flash-Lite)Updated model handling:
geminiModelssetgemini-2.5-flashin TranslateOptions and TranslateArgParserUpdated documentation:
Testing
dart analyze)Notes
Google released Gemini 2.5 models with enhanced thinking capabilities. This PR ensures arb_translate users can leverage these latest models for their translation needs.