Skip to content

ChatGPT CLI v1.8.3

Choose a tag to compare

@kardolus kardolus released this 01 May 18:26
· 154 commits to main since this release

New Features:

  • Model Context Protocol (MCP) Support:
    • Introduced MCP support allowing structured, live data injection into chat sessions, initially supporting only Apify integrations.
    • Key functionalities include fetching real-time information like weather and injecting it into the chat context.
    • Added command-line flags --mcp, --param, and --params for specifying MCP plugin and parameters.
    • Code Reference: README.md, api/client/client.go, cmd/chatgpt/main.go

Improvements:

  • Code Refactoring and Enhancements:

    • Added informative error messages for MCP-related operations, improving error handling and user feedback.
    • Updated request header management in the HTTP client for better security and extensibility.
    • Code Reference: api/client/client.go, api/http/http.go
  • Documentation and Configuration:

    • New documentation for Apify MCP usage includes example API requests and configuration options.
    • Separated MCP-related configuration in the command-line interface, enhancing user experience.
    • Code Reference: docs/apify_api.md

Bug Fixes:

  • Resolved Header Management Issues:

    • Fixed issues with missing or incorrect HTTP headers during network requests, ensuring successful API communication.
    • Code Reference: api/http/http.go
  • Corrected Error Handling in Test Cases:

Other Changes:

  • Code Clean-Up and Test Improvements:

Upgrade Notes:

  • You can upgrade to the new version using Homebrew by executing brew upgrade chatgpt-cli.
  • Alternatively, download the binaries directly for your specific operating system from the release page.
  • Ensure you update your configuration with the new APIFY_API_KEY by setting it as an environment variable or in your configuration files.