Change8

v0.22.1

Gemini CLI
3 features3 fixes2 improvementscli

Summary

This release focuses on improving the user experience with faster streaming responses from the Gemini API and better handling of context files. Several critical bugs related to network timeouts and output parsing have also been resolved.

New Features

  • Introduced support for streaming responses from the Gemini API for faster feedback during generation.
  • Enabled the ability to specify custom temperature settings for model generation via the command line.
  • Added a new `--context-file` flag to easily provide large context documents to the model.

Bug Fixes

  • Fixed an issue where the tool would hang indefinitely when the network connection timed out during a request.
  • Resolved a bug causing incorrect parsing of JSON output when the model included trailing whitespace.
  • Corrected an error that prevented the use of API keys stored in environment variables on Windows systems.

Improvements

  • Improved the clarity and formatting of error messages displayed to the user.
  • Optimized the initial startup time of the CLI tool.

Related Documentation

Gemini CLI Documentation