Gemini Code Assist 将于 7 月 17 日停止服务。
Gemini Code Assist will be shut down on July 17

原始链接: https://docs.cloud.google.com/gemini/docs/code-review/review-repo-code

GitHub 上的 Gemini Code Assist 是一款自动化 AI 审查工具,它通过总结代码变更和提供深入的代码反馈来加速拉取请求(Pull Request)的处理流程。开发人员可以在拉取请求的评论中直接与该代理互动,通过提问或使用 `/gemini` 标签来获取具备上下文感知能力的建议。 主要操作细节包括: * **功能:** 它会自动提取存储库数据以协助审查,但出于安全考虑,排除了 `.github/workflows` 目录。 * **版本:** 用户必须使用企业版,该版本通过 Developer Connect 连接到 Google Cloud。 * **重要通知:** GitHub 上的 Gemini Code Assist 消费者版本即将停止服务,最终停用日期为 2026 年 7 月 17 日。建议用户迁移至企业版。 该工具专为熟悉 GitHub 工作流程的各级开发人员设计。

Google 将于 2024 年 7 月 17 日关闭 GitHub 上的消费者版本 Gemini Code Assist。 虽然最初的报道称“Gemini Code Assist”将全面关闭,但评论者澄清此次变动仅影响免费的非企业版本。这一消息在开发者社区引发了强烈不满,主要原因是 Google 令人困惑的产品命名方式,使得用户难以区分各种“Gemini”和“Code Assist”产品。 Hacker News 上的讨论凸显了人们对人工智能工具可靠性的普遍担忧;用户越来越担心围绕那些可能随时被取消或转为企业付费墙的服务来构建工作流。许多参与者借此机会批评了 Google 频繁停用产品的习惯,并指出这种不稳定性使得人工智能工具对于缺乏资源以在服务弃用时迅速转型的独立开发者和个人创业者来说,是一项高风险的投资。
相关文章

原文

Gemini Code Assist on GitHub brings the power of Gemini to the pull request process by acting as a code reviewer. Gemini Code Assist on GitHub uses a Gemini-powered agent that automatically summarizes pull requests and provides in-depth code reviews, speeding up reviews and increasing the quality of code.

Once you've set up Gemini Code Assist on GitHub, you can invoke Gemini Code Assist at any stage of the pull request to review the code. You can interact with Gemini Code Assist in the pull request comments directly by:

  • Asking clarifying questions on the review that Gemini Code Assist creates.
  • Prompting Gemini Code Assist by adding the /gemini tag to your comments to ask questions in the context of the pull request.

Gemini Code Assist will automatically retrieve helpful information from the repository and pull request to perform its tasks.

This document is intended for developers of all skill levels. It assumes that you have a working knowledge of GitHub.

Consumer version and enterprise version

Gemini Code Assist on GitHub is available in an enterprise version, which you install through Google Cloud. A consumer version also exists; however, serving requests to the consumer version is being discontinued, and you shouldn't install this version.

The following table summarizes the differences between the consumer version and enterprise version:

Considerations

  • Gemini Code Assist on GitHub does not generate summaries or code suggestions for any files located within the .github/workflows directory. This exclusion helps prevent the introduction of potentially insecure configurations to the repository.

  • The enterprise version uses a Developer Connect connection to connect your GitHub repositories to Google Cloud.

    • This Developer Connect connection is always created in the region us-east1.

    • This Developer Connect connection must be created using the Code Assist Source Code Management section found in Gemini Code Assist Agents & Tools. For instructions, see Set up Gemini Code Assist on GitHub.

What's next

联系我们 contact @ memedata.com