Skip to content

ChatGPT CLI v1.6.3

Choose a tag to compare

@kardolus kardolus released this 17 Aug 15:48
· 335 commits to main since this release

New Features

  • Debug Mode: Introduced a --debug flag 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 --debug flag, ensuring that the raw request and response data are accurately printed.

Configuration Updates

  • Debug Configuration: Added a debug flag 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-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.

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.