Skip to content

ChatGPT CLI v1.8.7

Choose a tag to compare

@kardolus kardolus released this 11 Aug 21:24
· 124 commits to main since this release

New Features:

  • Support for GPT-5 Models:
    • Added support for the new GPT-5 model, enhancing the system's capabilities with improved language understanding and response generation.
    • Integrated into the response-fetching mechanism for efficient data handling.
    • Code references: api/client/client.go, api/http/http.go, api/responses.go.

Improvements:

  • Functionality Update in Client Module:

    • Enhanced the CreateResponsesRequest function to handle streaming and additional parameters like temperature and top_p for customizable outputs.
    • Improved the GetCapabilities function to recognize features supported by different models.
    • Code reference: api/client/client.go.
  • Streamlined HTTP Response Processing:

    • Introduced a specialized handler for different streaming endpoints, enabling better management of Server-Sent Events (SSE).
    • Legacy and new streams are now processed according to endpoint specifics, enhancing system reliability.
    • Code reference: api/http/http.go.

Bug Fixes:

  • Resolved Function Consistency Issues:

    • Corrected the case inconsistency in function calls related to model capabilities (getCapabilities to GetCapabilities).
    • Code reference: api/client/client.go.
  • Improvement in Test Stability:

    • Revised test cases to accommodate the addition of the GPT-5 model, ensuring tests are model-agnostic.
    • Fixed potential test failures due to hardcoded model checks.
    • Code reference: api/client/client_test.go, api/http/http_test.go.

Other Changes:

  • Code Refactoring:
    • Deprecated old capability function to promote the new GetCapabilities, aligning with the updated model handling architecture.
    • General code cleanup to remove deprecated model handling variables and improve readability.
    • Improved documentation for API usage in chatgpt_api.md.
    • Code reference: api/client/client.go, docs/chatgpt_api.md.

Upgrade Notes:

  • Users can upgrade to this version using the following methods:
    • Homebrew Users: Run brew upgrade chatgpt-cli.
    • Direct Download: Visit the release page to download binaries compatible with your operating system.