Skip to content

ChatGPT CLI v1.7.3

Compare
Choose a tag to compare
@kardolus kardolus released this 14 Oct 02:42
· 53 commits to main since this release
86684f7

New Features

  • Multiline Input Mode: A new feature that enables multiline input in interactive sessions has been added. Users can toggle this mode via the multiline configuration setting, allowing for more complex queries and commands.
    • Code reference: cmd/chatgpt/main.go, types/config.go

Improvements

  • Interactive Mode Output Customization: Enhanced the command_prompt and output_prompt configurations to allow for more personalized interactive session displays.

    • Code reference: cmd/chatgpt/main.go
  • Markdown Rendering Capability: Added a script (mdrender.sh) for real-time markdown rendering, enhancing documentation readability in the CLI.

    • Code reference: scripts/mdrender.sh
  • Makefile Enhancements: Introduced a Makefile to automate common development tasks, streamlining test running, binary building, and dependency management.

    • Code reference: Makefile, README.md

Bug Fixes

  • Uncommitted Changes Check in Update Scripts: Modified update and build scripts to ensure there are no unstaged changes before running tests or updates, ensuring a clean working state.

    • Code reference: scripts/shipit.sh, scripts/updatedeps.sh
  • Corrected Use of Write Functions: Updated several Write function calls to handle errors and improve reliability.

    • Code reference: integration/helpers_test.go

Other Changes

  • Removed Deprecated Functions: Various unnecessary helper functions and outdated code logic were removed to clean up the codebase and improve maintainability.

    • Code reference: configmanager/configmanager_test.go
  • Warnings for Missing Configuration Files: Added a warning message if config.yaml is absent when OPENAI_CONFIG_HOME is set, helping users to set up their environment correctly.

    • Code reference: integration/integration_test.go

Upgrade Notes

  • This release includes several improvements and bug fixes that enhance functionality and user experience.
  • To upgrade, you can use Homebrew by executing:
    brew upgrade chatgpt-cli
  • Alternatively, download the pre-built binaries directly for your operating system from the release page.

With this release, we aim to enhance usability and developer experience while ensuring more robust code practices. Please ensure that your configurations are up to date and take advantage of the new features and improvements.