Change8

v0.40.0-preview.3

Gemini CLI
3 features3 fixes2 improvementscli

Summary

This release focuses on improving user experience with streaming responses for faster interaction and introducing a new command to automatically apply code review fixes. We also resolved critical bugs related to hanging processes and incorrect code formatting.

New Features

  • Introduced support for streaming responses from the Gemini API, providing faster feedback during code generation.
  • Enabled the ability to specify custom model configurations (e.g., temperature, top_k) via command-line flags for more granular control over generation.
  • Added a new command, `gemini code review --fix`, to automatically apply suggested fixes from code review comments.

Bug Fixes

  • Fixed an issue where the tool would hang indefinitely when encountering very long error messages during execution.
  • Resolved a bug causing incorrect indentation when generating Python code blocks.
  • Corrected a problem where authentication tokens were not being refreshed properly, leading to intermittent 401 errors.

Improvements

  • Improved the clarity and formatting of the output when using the `--verbose` flag.
  • Optimized the initial startup time of the CLI application by deferring non-essential module loading.

Related Documentation

Gemini CLI Documentation

Gemini CLI v0.40.0-preview.3 - What's New - Change8