devika icon indicating copy to clipboard operation
devika copied to clipboard

Fix: fix Gemini 2 API.

Open fanxing11 opened this issue 10 months ago • 0 comments

Description

  • [ - ] Bugfix: Fix: Update Gemini 2 API. ref:https://github.com/google-gemini/generative-ai-python
    • The google-generativeai package can also be used with Gemini 2 models, BUT just with a limited feature set. All new features will be developed in the new Google GenAI SDK.
    • The new SDK google-genai (github, pypi) is fully compatible with all Gemini API models and features

Test plan (required)

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. image

fanxing11 avatar Feb 28 '25 14:02 fanxing11