ChatGPT CLI v1.10.5
New Features
- Repetition Guard for ReAct Agent:
- Introduced a new mechanism to prevent repetitive actions in the ReAct agent, enhancing decision-making and reducing redundant command executions.
- Code reference:
agent/react_agent.go
Improvements
- Enhanced Action Type Handling:
- Improved the handling of action types in the ReAct agent, now supporting shorthand notation for tools like ‘file’, ‘shell’, and ‘llm’.
- This update makes the agent more robust and ensures that incorrect shorthand usage leads to actionable errors.
- Code reference:
agent/react_agent.go
Bug Fixes
- Fixed Validation for Inconsistent Shorthand Usage:
- Corrected an issue where using inconsistent shorthand action types with tools would not validate correctly, potentially leading to execution errors.
- Code reference:
agent/react_agent.go
Other Changes
-
Documentation Overhaul:
- The
AGENTS.mddocument has been significantly condensed and rewritten to provide clear guidance and structured information for both contributors and users regarding how to work with the CLI application. - Code reference:
AGENTS.md
- The
-
Testing Enhancements:
- Added comprehensive tests for new functionality in the ReAct agent to ensure that changes adhere to expected standards and behaviors.
- Code reference:
agent/react_agent_test.go
Upgrade Notes
To upgrade to version v1.10.5, you can use the following methods:
-
With Homebrew:
brew upgrade chatgpt-cli -
Direct Download:
Visit the release page to download binaries for your specific operating system.