Repository navigation
ChatGPT CLI v1.5.0
This release introduces significant updates including bug fixes, a breaking change for better API payload handling, and a new feature to improve context management and max token management. Additionally, it includes a migration strategy for existing configurations to smoothly transition to the new context window setting.
What's New
-
New Feature: Introduced
context_windowto limit the size of the context. This replaces the previousmax_tokenssetting for context management, offering more precise control over the memory footprint of conversations (PR #). -
Configuration Migration: For users migrating from an older version,
config.yamlnow automatically updates to usecontext_window. Ifcontext_windowis not set, it defaults to the value ofmax_tokens, andmax_tokensis reset to4096. This ensures a seamless transition while encouraging users to leverage the new context management feature (PR #).
Bug Fixes
-
--list-threadsNo Longer Requires API Key: Fixed a bug where the--list-threadscommand unnecessarily required an API key, streamlining the process for listing threads without additional authentication (PR #). -
API Payload Handling (Breaking Change): The
--max-tokenssetting now correctly applies to the payload of the outgoing API call instead of the size of the context. This change may affect existing workflows that rely on the old behavior. Users are encouraged to review their usage and adjust accordingly
Under the Hood
- Refined the README.md formatting for better readability, including updates to the Configuration and Development sections.
- Adjusted client behavior to align with the new
context_windowandmax_tokenslogic, ensuring consistency across API calls. - Updated testing suites to cover the new features and bug fixes, reinforcing the reliability of the release.
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.