Gemini Code Assist release notes

This page documents production updates to Gemini Code Assist. Check this page for announcements about new or updated features, bug fixes, known issues, and deprecated functionality.

You can see the latest product updates for all of Google Cloud on the Google Cloud page, browse and filter all release notes in the Google Cloud console, or programmatically access release notes in BigQuery.

To get the latest product updates delivered to you, add the URL of this page to your feed reader, or add the feed URL directly.

October 30, 2024

VS Code and IntelliJ Gemini Code Assist now support admin feedback block. This feature allows admins to control whether developers can send Gemini Code Assist feedback.

Improved display of selected files using the @ file picker in the staged prompt for VS Code Gemini Code Assist.

Improved error handling for inline code completion for IntelliJ Gemini Code Assist.

The IntelliJ Gemini Code Assist right-click menu items are now listed under Gemini, and are also available in the floating toolbar (the yellow bulb icon).

General bug fixes and improvements for IntelliJ Gemini Code Assist.

October 16, 2024

General bug fixes and improvements to code transformation for the VS Code Gemini Code Assist extension.

Improved error handling for the IntelliJ Gemini Code Assist plugin. Added more actions to quickly recover from errors.

October 09, 2024

The Standard and Enterprise editions for Gemini Code Assist are now available. For more information about supported features for each edition, see the supported features table.

October 07, 2024

You can now assign Gemini Code Assist subscription licenses to users in your organization. Use the Admin for Gemini page in the Google Cloud console or use the billingAccounts.orders API to view, assign, or unassign user licenses. For more information, see Manage Gemini for Google Cloud licenses.

September 30, 2024

Code customization is now generally available in Gemini Code Assist for:

  • VS Code with the Gemini Code Assist + Cloud Code extension (version 2.18.0+)
  • IntelliJ with the Gemini Code Assist/Cloud Code plugin (version 1.1.0)
  • Cloud Workstations
  • Cloud Shell Editor

With code customization, Gemini Code Assist lets you get enhanced code suggestions based on your organization's private codebase(s) (in GitHub.com or GitLab.com) and in line with your coding conventions. For more information, see the code customization overview.

Local codebase awareness is now available for VS Code Gemini Code Assist. Local codebase awareness helps you with high quality code suggestions that are syntactically correct and semantically meaningful within the broader context of your codebase, when you specify files for Gemini Code Assist to use as context. You can specify files in your chat prompt by typing @ and selecting the files. For more information, see Code with Gemini Code Assist.

Gemini Code Assist for VS Code, Cloud Shell, and Cloud Workstations now supports code transformation. You can use commands or natural language prompts in the Quick Pick bar to request modifications to your code, and get a diff view to show pending changes to your code.

Improved error handling for the IntelliJ Gemini Code Assist plugin. Error messages are now actionable with precise error reasons and are supported for chat, code completion, and code generation.

September 05, 2024

You can now use Gemini Code Assist's Commit message button, which is integrated into JetBrains IDEs' default Commit tool window, to generate a commit message based on your changes.

General bug fixes for IntelliJ Gemini Code Assist.

August 12, 2024

The IntelliJ Gemini Code Assist/Cloud Code plugin now installs a bundle of two plugins:

  • Google Cloud Code
  • Gemini Code Assist

Code completions for IntelliJ Gemini Code Assist are now completely integrated with native IDE completion framework, which makes it easier to use and override key combinations to trigger, and less conflicting with various IDE or Tab based actions.

Updated IntelliJ Gemini Code Assist chat UX and styling.

You can now use the arrow keys to traverse previous chat history entries to repeat and edit questions in IntelliJ Gemini Code Assist.

Chat conversation history now persists across IDE sessions and restarts for IntelliJ Gemini Code Assist.

You can now exclude any files from AI completions and chat interactions using .aiexclude in IntelliJ Gemini Code Assist, with a format similar to .gitignore.

Improved performance and reliability in IntelliJ Gemini Code Assist.

July 30, 2024

The VS Code Gemini Code Assist extension now supports Code Transformation. Press Ctrl+I for Windows and Linux or Cmd+I for macOS and use the /generate command to generate code based on your prompt anywhere in the file. For more information, see Code with Gemini Code Assist.

Fixed crashing issue when using VS Code Gemini Code Assist completions.

July 02, 2024

Gemini Code Assist is available to try at no cost until November 8, 2024, limited to one user per billing account. Customers can purchase a license on the Gemini Admin page in the Google Cloud console. For more information, see Set up Gemini Code Assist for a project.

June 25, 2024

Added a tips card in chat showing useful keyboard shortcuts for using the VS Code Gemini Code Assist plug-in.

Added a diff button to code snippets in chat so that code returned from Gemini Code Assist can be easily compared to the code in the VS Code editor.

Rejected Gemini Code Assist code suggestions will no longer come back in the VS Code Gemini plug-in.

June 11, 2024

Updated Gemini Code Assist to use Gemini 1.5 Flash model (with 32k token window), with improved support for code explanation, unit test generation, and code transformations. Automatically triggered code completions use an 8k token window.

General bug fixes and completion speed improvements in the Intellij Gemini plug-in.

Fixed issue where citation warnings would persist after being ignored or deleted.

May 15, 2024

API management: Use Gemini Code Assist to facilitate API design including OpenAPI spec generation with enterprise context from natural language prompts and built in visual API designer to further refine the specification.

API hub interaction from Cloud Code: An update to Cloud Code extension enables you to interact with any API in your API hub using a local mock server in Cloud Code, make changes to the API, and publish it back to API hub.

May 08, 2024

Added notification on how to set up VPC configuration for Gemini Code Assist.

Gemini Code Assist is transitioning to a new API. This release adds a safeguard should users encounter errors.

April 29, 2024

The Intellij Gemini plug-in name updated to Gemini Code Assist / Cloud Code for easier discoverability in the marketplace.

Yaml file support is now disabled by default for new installations of the Intellij Gemini plug-in. To enable support, please visit the settings (Settings > Tools > Gemini + Google Cloud Code > Kubernetes).

The VS Code Gemini plug-in name is updated in the marketplace to Gemini Code Assist + Google Cloud Code for easier discoverability.

Revamped our Gemini Code Assist enablement flow in VSCode Gemini plug-in. It now requires less steps, is more intuitive, and has a sleek new look.

April 16, 2024

Various fixes for Gemini error handling.

April 09, 2024

The Code Transformation features in Gemini Code Assist are now available in Public Preview for Cloud Shell. For more information, see Use Code Transformation features.

Gemini Code Assist is available to try at no cost until July 11, 2024, limited to one user per billing account. Customers can purchase a license on the Gemini Admin page in the Google Cloud console. For more information, see Set up Gemini Code Assist for a project.

The Transform Code features in Gemini Code Assist are now available in Public Preview for Workstations and Cloud Shell.

April 08, 2024

Code Transformations for Gemini Code Assist in Cloud Shell are now available for Public Preview. You can now use an inline text box directly in your code file to do the following:

  • Generate comment lines to document your code.
  • Troubleshoot code with issues.
  • Improve code readability.
  • Make code more efficient.

You can also view context sources of a generated response in the Gemini: Chat pane.

For more information, see Code with Gemini Code Assist.

April 03, 2024

The Gemini Code Assist code generation feature now allows users to generate code repeatedly at the same cursor location.

Fixed an issue where handling very small .csv, .tsv, and .jsonl files crashed the Gemini Cloud Code extension.

Fixed an issue where empty files weren't being included as chat context.

Fixed telemetry data issue in the VSCode Gemini Code Assist plug-in.

April 02, 2024

Duet AI for Developers is now Gemini Code Assist.

The code generation feature has been updated to the Intellij Duet AI plug-in to allow users to generate code repeatedly at the same cursor location.

Fixed an issue in the Intellij Duet AI plug-in where empty files were not being included as chat context.

March 19, 2024

Retrieval-augmented generation is rolling out in the Intellij Duet AI plug-in as an experiment to select users to improve code suggestions for their repository.

Added thumbs up and thumbs down buttons in the Intellij Duet AI plug-in chat window for quick response quality feedback .

You can now use Duet AI to help you create a synthetic monitor in Cloud Monitoring. This feature is in Public Preview. For more information, see Create a synthetic monitor.

Improved notifications when the Intellij Duet AI plug-in needs action or has an error.

The Intellij Duet AI plug-in Skaffold version has been updated to 2.10.1

The context source panel in the VSCode Duet AI plug-in chat window now displays which file was included in the user's chat request.

Local code customization is enabled in the VSCode Duet AI plug-in as an experiment to select users to improve code suggestions. Additional files in the user's local directory will open when the user requests code generation. Local files are scored and included in the response based on relevance to the user's active context.

Thumbs up and down in Duet AI chat for quick response quality feedback.

Improved notifications when Duet AI needs action or has an error.

Improved error handling and messaging in the VSCode Duet AI plug-in code editor and in chat. Error specific actions are now provided to better assist users in resolving errors.

Improved confusing messaging and troubleshooting steps for permission denied errors and API enablement errors in the VSCode Duet AI plug-in.

March 14, 2024

Updated Duet AI for Developers chat assistance and Smart Actions to use Gemini 1.0 Pro models.

Updated Duet AI for Developers code completion model to increase response accuracy.

Improved code completion triggering logic to reduce occurrences of code completion previously dismissed.

Duet AI Chat in Google Cloud console now uses Gemini 1.0 Pro models when giving responses.

March 05, 2024

Duet AI Chat UI improvements, such as better message rendering and code formatting when using "Explain this" smart action

January 31, 2024

Duet AI for Developers is available to try at no cost until May 11, 2024, limited to one user per billing account. Customers can purchase a license on the Duet AI Admin page in the Google Cloud console. For more information, see Set up Duet AI for a project.

January 23, 2024

Fixed an issue where users with certain network/firewall configurations are unable to use Duet AI Chat.

Fixed an issue in VSCode Duet AI plug-in where users might get a notification about an unexpected error when enabling Duet AI.

Fixed an issue where some users were frequently asked to log in with VSCode Duet AI plug-in.

Fixed an issue where VSCode Duet AI plug-in is occasionally unable to start after log in.

December 13, 2023

Duet AI for Developers is now GA!

Added a Duet AI code generation hint tooltip.

Duet AI, an AI-powered collaborator in Google Cloud, is Generally available. The Generally available release includes the following:

  • Duet AI for Developers is Generally available.
  • The Duet AI pane in VSCode, JetBrains, Cloud Workstations and Cloud Shell Editor uses an improved model with higher accuracy and more complete responses.
  • In VSCode, a sign-in expiration issue for Duet AI has been fixed.
  • In VSCode and JetBrains IDEs, you can enable Duet AI entirely from the IDE instead of visiting the Google Cloud console.
  • In VSCode and JetBrains IDEs, improved filtering and sorting reduces the amount of generated code that contains only comments.
  • Improved logic for defining the final code completion token. This resolves issues where extra closing brackets were suggested and where lines of code broken in the middle were returned.
  • In JetBrains IDEs, Duet AI cancels code generation when the user changes the code position before a response is returned. This ensures generated code isn't rendered in the wrong place.

Added Duet AI smart actions. Highlight the desired code, right-click, and select:

  • "Explain this" to have Duet AI explain the code
  • "Generate Unit Tests" to have Duet AI generate unit tests for you

Allow enabling Duet API during onboarding flow

Partially accept a Duet AI code suggestion with Shift + Enter

Added detailed and actionable message to Duet AI error notification.

Updated code generation shortcut to avoid key binding conflict with Intellij new UI

Added project selection from VSCode Duet AI plug-in quickpick.

Easier onboarding in VSCode Duet AI plug-in for Duet AI with API enable button.

Added a Duet AI code generation hint tooltip in VSCode Duet AI plug-in.

Fixed completion result only displaying one suggestion in VSCode Duet AI plug-in.

Fix Duet AI generation hint re-appearing between sessions in VSCode Duet AI plug-in.

November 01, 2023

Duet AI for Cloud Shell is now available. Use Duet AI, your AI-powered collaborator, to accomplish tasks more effectively and efficiently. Duet AI provides contextualized responses to your prompts to help guide you on what you're trying to do with your code. It also shares source citations regarding which documentation and code samples the assistant used to generate its responses.

If you use the latest version of the Cloud Shell editor, which is Code - OSS based, you can use Duet AI for Cloud Shell. For more information, see the Duet AI in Google Cloud overview and Code with Duet AI assistance.

Duet AI for VS Code provides an indication that code generation is in progress.

Duet AI has an improved threshold to filter out low quality code completions.

Duet AI added multi-file support for code generation.

Duet AI added multi-file support for code generation.

You don't need to switch between using REST and gRPC when using Duet AI. Duet AI does this for you.

The following improvements have been made when using using IntelliJ IDEA and other JetBrains IDEs with Duet AI:

  • Duet AI supports linux ARM builds in IntelliJ
  • A daily sign-in expiration issue has been fixed.
  • Linux support on JetBrains IDE's has been improved.
  • Chat in IntelliJ and JetBrains IDEs is available in Preview.
  • Confidence scoring is enabled which should improve code completion quality.

Duet AI for Developers code generation and code completion latency has been reduced when it's used in IntelliJ and VSCode.

Duet AI in Google Cloud has fewer false positive responses and increased its response length for questions about code.

October 31, 2023

Duet AI Chat is now in preview for IntelliJ and JetBrains IDEs.

VPC Service Controls for Duet AI is in preview in the Intellij Duet AI plug-in.

Improvements to the Duet AI code generation behavior including more relevant results and better feedback.

Improving the way the Intellij Duet AI plug-in code suggestions interact with the IDE's built in code completions. Duet AI will not display its suggestions when the IDE's code completions are available. To trigger Duet AI instead: hit "Escape" to dismiss the IDE's suggestions and Duet will automatically trigger.

Update the Intellij Duet AI plug-in code generation gutter icon

Improvements to the Intellij Duet AI plug-in error handling.

Updated the button to generate code with the VSCode Duet AI plug-in.

You can ask the VSCode Duet AI plug-in to generate code, explain the currently opened file, or generate unit tests

Generating code in the VSCode Duet AI plug-in will now give a clear indication that generation is in progress

In the VSCode Duet AI plug-in, updated Duet AI Chat to include a button to open a code sample in a new file, and buttons to provide feedback on Duet AI response.

October 03, 2023

Improved Intellij Duet AI plug-in filtering logic to provide better results.

Decreased the latency of VSCode Duet AI plug-in requests.

VSCode Duet AI plug-in should show more relevant completion results and fewer "noisy" results.

September 20, 2023

Improved Intellij Duet AI plug-in filtering logic to provide better results.

August 29, 2023

The Intellij Duet AI plug-in and VSCode Duet AI plug-in are now available in public preview. Use Duet AI, your AI-powered collaborator, to accomplish tasks more effectively and efficiently. Duet AI provides contextualized responses to your prompts to help guide you on what you're trying to do with your code. It also shares source citations regarding which documentation and code samples the assistant used to generate its responses. You can do this right in the IDE to avoid having to context-switch out to your browser or documentation.

Duet AI, an AI-powered collaborator in Google Cloud, is now available in Preview.