Repository navigation
ChatGPT CLI v1.6.3
New Features
- Debug Mode: Introduced a
--debugflag that allows users to print raw request and response data. This includes the request JSON body, the endpoint URL, and the raw response. Useful for troubleshooting and verifying API calls.
Enhancements
- Helper Methods for Debugging: Added helper methods for printing request and response details in debug mode, improving code modularity and making it easier to reuse this functionality across the application.
Integration Tests
- Debug Mode Testing: Added integration tests to verify the correct functioning of the new
--debugflag, ensuring that the raw request and response data are accurately printed.
Configuration Updates
- Debug Configuration: Added a
debugflag to the configuration file, which can be enabled through environment variables or directly in the config file.
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.
This version improves the CLI’s usability by providing more transparency into the API requests and responses, especially useful for developers and power users who want to inspect the raw data interactions with the OpenAI API.