Skip to content

Releases: kardolus/chatgpt-cli

ChatGPT CLI v1.3.3

19 Oct 00:59
Compare
Choose a tag to compare

In this release, we've enhanced the visibility of error messages for non-2XX HTTP responses. Previously, only the error type was displayed. With this update, you'll also see a more descriptive error message.

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.

ChatGPT CLI v1.3.2

16 Sep 00:05
Compare
Choose a tag to compare

New Features

  • Configurable Role: You are now able to configure the role of your chatgpt-cli. By default, the role is "You are a helpful assistant". This feature provides chatgpt-cli with more flexibility and adaptability to suit your particular needs.

Dependency Updates

In this new version, we have updated several dependencies to ensure you are using the latest and most secure versions. Although these updates often go unnoticed, they are an essential part of maintaining the health of chatgpt-cli.

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.

ChatGPT CLI v1.3.1

09 Jul 02:14
Compare
Choose a tag to compare

In this release, our efforts have largely been focused on improving the interactive mode for a better user engagement experience. Here are the key changes:

Features:

  • Interactive Mode Instructions: Users are now clearly briefed on how to exit interactive mode. Two ways have been implemented - the exit command and the universal Ctrl+C action.

  • Timestamp on Messages: For better tracking and reference, timestamps are now printed for each query in interactive mode. The timestamp corresponds to when a user finishes typing their query.

  • Exit Feedback: In response to user actions to exit interactive mode, the program now responds with a friendly "Bye!" message.

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.

ChatGPT CLI v1.3.0

24 Jun 02:52
6f75194
Compare
Choose a tag to compare

Release Notes

New Features

  • Per Thread Contexts: In this release, we're introducing per-thread contexts for the ChatGPT CLI. Now, each thread can maintain its own unique context, providing an experience similar to the one users are familiar with on the OpenAI website. This makes it even easier to manage multiple chat sequences or use cases at the same time.

    You can specify a thread by setting the thread option in your configuration or by using the --thread flag. If no thread is specified, the application defaults to using the thread named default.

  • Clear History Flag: Want to start a new conversation in the same thread without the baggage of previous interactions? The --clear-history flag allows you to easily clear the history of a specific thread.

Improvements

  • Improved Configuration Section: Our README now includes a detailed table explaining each configuration option, its default value, and how to override it.

  • Enhanced README: We have made several updates to our README to provide clearer instructions and more comprehensive information about the application's features.

Bug Fixes

  • A number of minor bug fixes and performance improvements.

Remember to check the updated README for more detailed information about these new features and improvements. As always, we welcome your feedback and suggestions for future releases. Enjoy chatting with GPT-3!

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.

ChatGPT CLI v1.2.0

22 Jun 14:08
Compare
Choose a tag to compare

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.

ChatGPT CLI v1.1.2

18 Jun 16:23
Compare
Choose a tag to compare

Release Notes

Highlight of the release:

Configuration Display Flag - A new command-line flag --config (or -c for short) has been added. This allows users to quickly and easily view their current chatGPT CLI configuration. Now, it's easier than ever to see which settings you're currently using. Try it out with chatgpt --config.

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.

ChatGPT CLI v1.1.1

18 Jun 04:26
Compare
Choose a tag to compare

This version fixes a bug introduced in v1.1.0 - default values were dependent on the existence of a specific file. That is now no longer the case.

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.

ChatGPT CLI v1.1.0

17 Jun 18:50
Compare
Choose a tag to compare
ChatGPT CLI v1.1.0 Pre-release
Pre-release

Release Notes

Changed this to a pre-release due to a bug. Bug was fixed in v1.1.1

This release introduces significant changes to the ChatGPT CLI. We have made several modifications, including removing a few exported constants and exported struct fields, and adding the config.yaml file (see README), which leads to some breaking changes. We have increased the version to 1.1.0 to reflect these changes.

Breaking Changes:

  1. We have modified the Client struct, resulting in the removal of certain fields (Model, capacity, and serviceURL), and the addition of the Config field. This change simplifies the client configuration process by enabling users to use a config file (config.yaml) for customization. Here is how the struct looks now:
type Client struct {
  Config       types.Config
  History      []types.Message
  caller       http.Caller
  historyStore history.HistoryStore
}
  1. Several constants have been removed from the client configuration. The constants DefaultGPTModel, DefaultServiceURL, CompletionPath, ModelPath, and MaxTokenSize are no longer available. The constants AssistantContent, AssistantRole, ErrEmptyResponse, MaxTokenBufferPercentage, SystemRole, UserRole, and gptPrefix are still available.
const (
  AssistantContent         = "You are a helpful assistant."
  AssistantRole            = "assistant"
  ErrEmptyResponse         = "empty response"
  MaxTokenBufferPercentage = 20
  SystemRole               = "system"
  UserRole                 = "user"
  gptPrefix                = "gpt"
)

These changes were made to simplify the client configuration and to increase flexibility by allowing settings to be specified in a user-defined configuration file (config.yaml).

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.

Thank you for your continuous support and understanding as we work to improve ChatGPT CLI.

ChatGPT CLI v1.0.7

16 Jun 14:04
Compare
Choose a tag to compare

Bugfixes

  • We've updated the behavior of the --version, --set-model, and --clear-history flags to no longer error out when OPENAI_API_KEY is not present in the environment. You can now use these flags independently of the API key.

Testing

  • Added comprehensive lifecycle and contract tests to improve the reliability of the application and catch potential issues earlier in the development cycle.

We encourage you to update to this version for a smoother experience and look forward to hearing your feedback.

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.

ChatGPT CLI v1.0.6

10 Jun 13:46
Compare
Choose a tag to compare

We're excited to announce the release of chatgpt-cli v1.0.6! This version introduces a critical new feature that enhances the usability of the CLI tool.

New Features

  • Added the --set-model command. Users can now update the default model used by the CLI by executing chatgpt --set-model "gpt-3.5-turbo". This command updates a config.yaml file, where the preferred model is stored. This feature adds a level of customization and flexibility for users, allowing them to easily switch between different models.

Improvements

  • We've set up a dedicated config package to handle operations related to the config.yaml file. This change helps in maintaining a clean and organized codebase.

Testing

  • Introduced a new integration test for the --set-model command to ensure its correct functionality and to prevent any future regressions.

As always, we encourage users to upgrade to the latest version for an optimal experience. For detailed instructions on how to upgrade, refer to our documentation.

We'd like to express our gratitude for your support and feedback. If you encounter any issues or have suggestions, feel free to reach out to us.

Happy coding!

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.