ChatGPT CLI v1.10.4
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.mdfile 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.
- Added a comprehensive
-
Proof of Concept Image:
- A new image (
poc.png) has been added to thecmd/chatgpt/resources/directory to support visualization needs for development and promotional purposes.
- A new image (
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
runAgentfunction by removing redundant logger initializations and improving the layout of debugging logs.
- Streamlined the code execution path within the
-
Testing Adjustments:
- Updated unit tests (
react_agent_test.go) to ensure they align with new parsing error messages, strengthening overall test coverage and reliability.
- Updated unit tests (
Upgrade Notes
To upgrade to this release:
- Use Homebrew: Run
brew upgrade chatgpt-cliin 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.