You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
🥰 Requirement description
@google/generative-ai currently in use has been announced to be deprecated and its life cycle will be permanently terminated on August 31, 2025.
In addition, Vertex AI has launched an express mode, aiming to promote the apiKey simple authorization model, which also requires the use of @google/genai
In theory, starting with Gemini 2.0, the genai library should be used.
🥰 需求描述
目前使用的 @google/generative-ai 已宣布弃用,其生命周期将于 2025 年 8 月 31 日永久终止。
此外 Vertex AI 推出了 express mode,旨在推广 apiKey 简单授权模式,其也需要使用 @google/genai
理论上从 Gemini 2.0 开始,就应当使用 genai 库了的。
🧐 解决方案
https://ai.google.dev/gemini-api/docs/migrate
https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/vertex-ai-express-mode-api-quickstart
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: