ChatGPT CLI v1.10.6
New Features
- Enhanced Logging System:
- Introduced the ability to sync logs manually for both human-readable and debug logs using new sync functions.
- Modified logger output to better distinguish between transcript (plain text) and debug (JSONL) formats.
- Code references:
agent/log.go,agent/agent.go
Improvements
-
Code Refactoring for Logging:
- Adapted
agent.goto utilizezapcore.NewTeefor simultaneous logging to the terminal and to a transcript file, enhancing the readability and accuracy of the logs during operations. - Improved the efficiency of log management by ensuring that syncing operations are embedded within the logger's base options.
- Code references:
cmd/chatgpt/main.go,agent/log.go
- Adapted
-
Documentation Update:
- Expanded the
AGENTS.mdfile with clearer instructions and more detailed project layout explanations to aid developers in contributing effectively. - Code reference:
AGENTS.md
- Expanded the
Bug Fixes
- Testing and Mocks Update:
- Rectified unnecessary clock expectations in test cases, ensuring a more accurate and simplified test environment.
- Code references:
agent/react_agent_test.go
Other Changes
- Testing Enhancements:
- Upgraded test routines by integrating
sclevine/specandgomegaconventions, safeguarding that both unit and integration tests conform to a standard format. - Code references:
agent/react_agent_test.go
- Upgraded test routines by integrating
Upgrade Notes
To upgrade to the latest version of the chatgpt-cli, follow these steps:
- If you have Homebrew installed, run the command:
brew upgrade chatgpt-cli - Alternatively, you can directly download the precompiled binaries appropriate for your operating system from our release page.
This new release continues to strengthen our commitment to delivering a robust and efficient tool, enhancing the user experience with each update. We hope you enjoy the new features and improvements. If you have any feedback or run into any issues, please feel free to reach out to us.
Thank you for using chatgpt-cli!