Skip to content

ChatGPT CLI v1.6.6

Choose a tag to compare

@kardolus kardolus released this 25 Sep 13:38
· 319 commits to main since this release

Features and Improvements:

  • Output Prompt Configuration:
    You can now customize the output prompt in interactive mode using the output_prompt configuration setting. This allows you to prepend custom text or formatting to the AI’s response.

    Example configuration:

    output_prompt: '\nhi there: '

    This example will display:

    hi there: <response>
    

Bug Fixes and Internal Changes:

  • Fixed Newline Escaping:
    In the command prompt, \\n is now correctly replaced with an actual newline during execution, allowing multi-line output prompts.

  • Code Refactoring:

    • Minor adjustments to prompt handling in interactive mode.
    • Internal tests have been added to ensure correct behavior of the newline replacement in the output prompt.

Documentation:

  • Updated the README to include the new output_prompt configuration option.

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.