Gemini Code Assist will be shut down on July 17
这条记录涉及编程工具或代码能力更新,适合开发者评估工作流变化和可复用价值。
Review GitHub code using Gemini Code Assist
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:
Consumer version Enterprise version (Preview)
Terms of service Google terms of service Google Cloud terms of service
Quotas 33 pull requests per day 100+ pull requests per day
Managing configurations
Per-repository within GitHub
All repositories associated with an account using the settings page
Across multiple repositories using Google Cloud
Adding a style guide Per-repository within GitHub
GitHub support
GitHub
GitHub Enterprise Server
GitHub Enterprise Cloud
Considerations