Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Thank you for building with Gemini and [let us know](https://discuss.ai.google.d

* **Limited Maintenance:** Development is now restricted to **critical bug fixes only**. No new features will be added.
* **Purpose:** This limited support aims to provide stability for users while they transition to the new SDK.
* **End-of-Life Date:** All support for this repository (including bug fixes) will permanently end on **November 30, 2025**.
* **End-of-Life Date:** All support for this repository ended permanently on **November 30, 2025**.

We encourage all users to begin planning their migration to the [Google Generative AI SDK](https://github.com/googleapis/python-genai) to ensure continued access to the latest capabilities and support.

Expand Down
19 changes: 19 additions & 0 deletions google/generativeai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
See the [python quickstart](https://ai.google.dev/tutorials/python_quickstart) for more details.
"""
from __future__ import annotations
import warnings
import textwrap

from google.generativeai import version

Expand Down Expand Up @@ -77,6 +79,23 @@

__version__ = version.__version__


warnings.warn(
textwrap.dedent(
"""

All support for the `google.generativeai` package has ended. It will no longer be receiving
updates or bug fixes. Please switch to the `google.genai` package as soon as possible.
See README for more details:

https://github.com/google-gemini/deprecated-generative-ai-python/blob/main/README.md
"""
),
FutureWarning,
stacklevel=2,
)


del embedding
del files
del generative_models
Expand Down
2 changes: 1 addition & 1 deletion google/generativeai/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.
from __future__ import annotations

__version__ = "0.8.5"
__version__ = "0.8.6"