Skip to content

ChatGPT CLI v1.10.4

Choose a tag to compare

@kardolus kardolus released this 18 Jan 21:53
· 42 commits to main since this release

This release introduces several new features, optimizations, bug fixes, and additional changes aimed at enhancing the overall functionality and usability of the project. Below is a summary of the key updates included in this version.

New Features

  • AGENTS.md Documentation:

    • Added a comprehensive AGENTS.md file outlining the architecture and usage of the ChatGPT CLI, including experimental agent modes like ReAct and Plan/Execute.
    • This document serves as an orientation guide for automated agents and contributors, detailing the repository's structure and core functionalities.
  • Proof of Concept Image:

    • A new image (poc.png) has been added to the cmd/chatgpt/resources/ directory to support visualization needs for development and promotional purposes.

Improvements

  • ReAct Agent Logic Refinement:
    • Enhanced the parsing logic of the ReAct agent to improve JSON object extraction, ensuring more reliable interpretation of responses.
    • Updated CRITICAL RULES for JSON response consistency, emphasizing single-action responses and clear formatting guidelines.

Bug Fixes

  • JSON Parsing in ReAct Agent:
    • Fixed a bug in the ReAct agent that incorrectly parsed JSON strings, leading to potential errors during agent operation. Refined the error handling to provide more descriptive feedback when parsing fails.

Other Changes

  • Refactored Agent Execution Flow:

    • Streamlined the code execution path within the runAgent function by removing redundant logger initializations and improving the layout of debugging logs.
  • Testing Adjustments:

    • Updated unit tests (react_agent_test.go) to ensure they align with new parsing error messages, strengthening overall test coverage and reliability.

Upgrade Notes

To upgrade to this release:

  • Use Homebrew: Run brew upgrade chatgpt-cli in your terminal.
  • Alternatively, download the latest binaries directly for your operating system from the releases page.

This release focuses on improving the robustness of the ChatGPT CLI, offering clearer integration pathways for new users and contributors while maintaining backward compatibility. For further details, please refer to the updated documentation provided in this release.