Skip to content

ChatGPT CLI v1.7.5

Choose a tag to compare

@kardolus kardolus released this 05 Nov 21:05
· 275 commits to main since this release

New Features:

  • Deterministic Sampling with Seed Support: Introduced a configuration option to set a seed for deterministic sampling in the ChatGPT CLI. This feature is in beta and allows repeated requests with the same seed and parameters to return consistent results.
    • Code reference: README.md, types/completions.go, cmd/chatgpt/main.go

Improvements:

  • Refactored History Management: Enhanced the handling of message histories by refactoring data models to include timestamps. This improvement allows for better tracking and management of conversation history.
    • Code reference: client/client.go, types/history.go, history/history.go
  • Logging Enhancements: Improved test script logging to include timestamps, providing clearer insights into the execution timeline.
    • Code reference: scripts/all-tests.sh

Bug Fixes:

  • Improper Console Output Handling: Resolved issues where certain commands in the CLI did not handle console output correctly, ensuring that all output is now formatted and displayed as intended.
    • Code reference: cmd/chatgpt/main.go

Other Changes:

  • Updated Testing Framework: Upgraded from github.com/onsi/gomega v1.34.2 to v1.35.1, ensuring compatibility with recent updates and improvements.
    • Code reference: go.mod, go.sum
  • Consistent Use of Mock Timer in Tests: Integrated a mock timer into client tests to simulate and verify time dependencies.
    • Code reference: client/client_test.go

Upgrade Notes:

  • To upgrade to this version, use brew upgrade chatgpt-cli, or download the binaries directly for your operating system from the releases page.