Skip to content

ChatGPT CLI v1.2.0

Compare
Choose a tag to compare
@kardolus kardolus released this 22 Jun 14:08
· 205 commits to main since this release

Release notes

We are pleased to announce the latest release of the ChatGPT CLI. This update provides enhanced configuration options to optimize your user experience.

Enhanced Configuration

  1. Layered Configuration: ChatGPT CLI now supports a layered configuration system for a more flexible setup. The order of precedence for these configurations is: default values, values from the config.yaml file, and environment variables.

  2. Default Configuration: We've included default values for name, api_key, model, max_tokens, url, completions_path, models_path, and omit_history. These defaults ensure a smooth user experience right out of the box.

  3. User Configuration: You can easily override the default settings by specifying your preferences in the config.yaml file located in your home directory.

  4. Environment Variables: For more immediate and flexible changes, environment variables can be used to overwrite default and user-defined values.

  5. Configuration Display: The --config or -c flag is introduced to display the current configuration. It's a quick way to check your settings without having to manually open the configuration files.

New Quick Configuration Flags

To enhance your convenience, we've introduced two new flags to allow for quick modification of the model and max_tokens parameters in your user configured config.yaml. These flags are --set-model and --set-max-tokens. For instance, updating the model can be done using the following command:

chatgpt --set-model gpt-3.5-turbo-16k

These quick configuration options enable rapid changes to key settings, optimizing the adaptability of the ChatGPT CLI to your needs.

Your feedback is valuable to us! Please continue to share your experiences and suggestions.

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.