Repository navigation
ChatGPT CLI v1.2.0
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
-
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.yamlfile, and environment variables. -
Default Configuration: We've included default values for
name,api_key,model,max_tokens,url,completions_path,models_path, andomit_history. These defaults ensure a smooth user experience right out of the box. -
User Configuration: You can easily override the default settings by specifying your preferences in the
config.yamlfile located in your home directory. -
Environment Variables: For more immediate and flexible changes, environment variables can be used to overwrite default and user-defined values.
-
Configuration Display: The
--configor-cflag 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-16kThese 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-cliDirect Download
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.