Skip to content

Conversation

@AkhmadRamadani
Copy link
Contributor

This PR addresses critical issues #53 and #54, where setting the model to gemini-2.0-flash (or other custom model names) did not actually apply.

Changes

  • Refactored GeminiImpl to streamline request handling and model management.
  • Fixed logic to ensure the latest Gemini model (e.g., gemini-2.0-flash) is correctly set.
  • Corrected handling of custom model names to prevent silent fallbacks.
  • Updated Gemini model constants and descriptions for the latest stable version.
  • Added request data builders for improved consistency and maintainability.

Impact

  • Fixes urgent issues preventing users from switching to Gemini 2.0 Flash or using custom model names.
  • Improves internal structure for easier future updates and better reliability.
@babakcode babakcode merged commit a08d004 into babakcode:master Sep 28, 2025
1 check passed
@AkhmadRamadani
Copy link
Contributor Author

AkhmadRamadani commented Sep 29, 2025

Hi @babakcode, I want to ask, when will the package versions be updated on pub.dev? Thank you

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

Labels

None yet

2 participants