Repository navigation
ChatGPT CLI v1.6.2
We are excited to announce the release of v1.6.2 of the ChatGPT CLI! This update brings some new features and enhancements to improve your experience with the CLI.
🚀 New Features
-
Automatic Thread Creation:
- Added a new configuration option,
auto_create_new_thread. When enabled, this feature automatically generates a unique thread identifier for each interactive session, helping you better organize your conversations. - To enable this feature, set
auto_create_new_threadtotruein your configuration.
- Added a new configuration option,
-
Token Usage Tracking:
- A new
track_token_usageconfiguration option has been introduced. When enabled, this feature tracks and displays the total token usage after each query when using--querymode. - This is particularly useful for monitoring API usage and optimizing costs. Simply set
track_token_usagetotrueto activate this feature.
- A new
📝 Documentation Updates
- Updated the README to include information about the new
auto_create_new_threadandtrack_token_usageconfiguration options. - Adjusted formatting for better readability and navigation.
🛠 Enhancements and Fixes
- Improved the client and history store to support the new features.
- Added comprehensive integration tests to ensure the new features work seamlessly with existing functionality.
📦 Dependency Updates
- Updated various dependencies to their latest versions for better stability and performance.
How to Update
Using Homebrew (macOS)
brew upgrade chatgpt-cliDirect Download
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating
system and architecture.