Repository navigation
ChatGPT CLI v1.7.5
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
- Code reference:
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
- Code reference:
- Logging Enhancements: Improved test script logging to include timestamps, providing clearer insights into the execution timeline.
- Code reference:
scripts/all-tests.sh
- Code reference:
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
- Code reference:
Other Changes:
- Updated Testing Framework: Upgraded from
github.com/onsi/gomega v1.34.2tov1.35.1, ensuring compatibility with recent updates and improvements.- Code reference:
go.mod,go.sum
- Code reference:
- 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
- Code reference:
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.