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: https://cloud.google.com/feeds/gemini-codeassist-release-notes.xml

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.

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.