Skip to content

ChatGPT CLI v1.7.6

Choose a tag to compare

@kardolus kardolus released this 07 Dec 15:19
· 251 commits to main since this release

Key Highlight

Support for o1 Models: We now support o1 prefixed models while maintaining full compatibility with GPT models, as well as Perplexity and Llama models. This enhancement ensures seamless integration with a broader range of models, offering more flexibility to users.

Code reference: api/client/client.go

New Features

Test Coverage Script: Introduced a new coverage script to generate combined coverage reports for unit, integration, and contract tests. The reports are now available in HTML format for easy visualization.

Code reference: scripts/coverage.sh

Improvements

  • Enhanced .gitignore: Expanded .gitignore to cover a broader range of common directories and file types, ensuring a cleaner workspace by ignoring IDE/editor-specific configurations, system metadata, and temporary files.
  • Code reference: .gitignore
  • Performance Optimization in Client Struct: Improved the performance of the api/client package by optimizing how history messages are handled and enhancing response processing logic.
  • Code reference: api/client/client.go

Bug Fixes

  • Non-Empty Initial History Handling: Fixed an issue where the system failed to correctly append entries to an existing history. The logic has been improved to properly merge history entries.
  • Code reference: api/client/client.go
  • Model Filtering Enhancement: Corrected model filtering to ensure accurate identification and handling of both GPT and o1 prefixed models.
  • Code reference: api/client/client.go

Other Changes

  • Codebase Restructuring: Refactored the codebase to adopt a more consistent structure, improving maintainability and readability. This includes updates to core packages, configuration management, and utilities.
  • Code references: Multiple files across api, config, history, and test directories.
  • Dependency Updates: Updated dependencies and modules to improve security and compatibility.
  • Code reference: go.mod, go.sum

Upgrade Notes

To update to v1.7.6, use the Homebrew package manager or download the binaries directly from the GitHub releases page. To upgrade via Homebrew, run:

brew upgrade chatgpt-cli

This release expands model compatibility, optimizes performance, enhances testing insights, and improves the codebase structure for a smoother development experience. Thank you for using ChatGPT CLI!