Skip to content

ChatGPT CLI v1.10.6

Choose a tag to compare

@kardolus kardolus released this 19 Jan 16:45
· 37 commits to main since this release

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.go to utilize zapcore.NewTee for 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
  • Documentation Update:

    • Expanded the AGENTS.md file with clearer instructions and more detailed project layout explanations to aid developers in contributing effectively.
    • Code reference: AGENTS.md

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/spec and gomega conventions, safeguarding that both unit and integration tests conform to a standard format.
    • Code references: agent/react_agent_test.go

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!