Releases: kardolus/chatgpt-cli
ChatGPT CLI v1.3.3
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
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
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 universalCtrl+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
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 nameddefault
. -
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
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.yaml
file, 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.yaml
file 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
--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
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
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
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:
- We have modified the Client struct, resulting in the removal of certain fields (
Model
,capacity
, andserviceURL
), and the addition of theConfig
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
}
- Several constants have been removed from the client configuration. The constants
DefaultGPTModel
,DefaultServiceURL
,CompletionPath
,ModelPath
, andMaxTokenSize
are no longer available. The constantsAssistantContent
,AssistantRole
,ErrEmptyResponse
,MaxTokenBufferPercentage
,SystemRole
,UserRole
, andgptPrefix
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
Bugfixes
- We've updated the behavior of the
--version
,--set-model
, and--clear-history
flags to no longer error out whenOPENAI_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
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 executingchatgpt --set-model "gpt-3.5-turbo"
. This command updates aconfig.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 theconfig.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.