Skip to content

ChatGPT CLI v1.5.1

Choose a tag to compare

@kardolus kardolus released this 23 Mar 14:49
· 382 commits to main since this release

We're excited to announce the latest updates to the ChatGPT Command Line Interface (CLI)! This release introduces new features and enhancements that improve customization, flexibility, and ease of use. Here's what's new:

New Feature:

  • Adjustable Context Window Size: Users now have the ability to adjust the context window size through the new --set-context-window flag. This enhancement allows for more precise control over the amount of conversational context the model considers, enabling users to tailor the chat experience to their specific needs.

Enhancement:

  • Improved Configuration Documentation: The README.md file has been updated to reflect these changes, providing clear and concise instructions on how to utilize the new and existing features effectively.

Developer Enhancements:

  • Codebase Improvements: For developers, we've introduced a new variable contextWindow in the main.go file, alongside the necessary logic to support the adjustable context window size feature. Additionally, the configmanager.go file has been updated with a new method WriteContextWindow, which handles the updating of this setting in the configuration.

  • Testing Enhancements: Our commitment to quality and stability is reinforced with updates to the configmanager_test.go and integration_test.go files, ensuring comprehensive test coverage for the new context window functionality.

How to Update

Using Homebrew (macOS)

brew upgrade chatgpt-cli

Direct Download

For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating
system and architecture.