Skip to content

Migrate from google-generativeai to python-genai and adopt flash-2.5 models #78

@FallenDeity

Description

@FallenDeity

With the release of Gemini 2.0, the google-generativeai Python SDK has been deprecated. Google now recommends migrating to the new unified python-genai SDK. We should update our codebase (particularly memvid/llm_client.py) to use this new SDK, and adopt the latest flash-2.5 series models for improved performance and results.

import google.generativeai as genai

I can make a PR for this if it sounds good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions