-
Notifications
You must be signed in to change notification settings - Fork 41
Description
TL;DR: The Quarkus Vertex AI extension currently relies on deprecated Vertex AI generative APIs that will be removed in June 2026. Google recommends the Google Gen AI SDK as the replacement. Updating or replacing the current Vertex AI integration with the Gen AI SDK would avoid future breakage and unlock modern Gemini features (e.g. context caching).
Hi team,
The current quarkus-google-cloud-vertex-ai extension builds on the Vertex AI SDK generative APIs (for example, com.google.cloud.vertexai.generativeai.GenerativeModel).
Google deprecated these Vertex AI SDK generative modules on June 24, 2025 and plans to remove them entirely after June 24, 2026. Google’s documentation recommends migrating to the Google Gen AI SDK as the supported path forward.
Impact
- Modern Gemini features (such as improved context caching) are unavailable or lagging
- Applications built on the extension today will face breaking changes when the deprecated APIs are removed
- Any future migration will be disruptive rather than incremental
Request
Please consider updating the existing Vertex AI extension to use the Google Gen AI SDK internally, or replacing the underlying Vertex AI generative integration with the Gen AI SDK, while keeping the extension surface area and Quarkus native / GraalVM compatibility intact.
This would future-proof the extension and allow Quarkus users to adopt modern Gemini capabilities without a forced rewrite later.
Thanks for maintaining the Quarkus Google Cloud extensions.
References
- Google deprecation notice: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/deprecations/genai-vertexai-sdk