Skip to content

ChatGPT CLI v1.8.8

Choose a tag to compare

@kardolus kardolus released this 21 Aug 10:23
· 119 commits to main since this release

New Features

  • Expanded model compatibility for --effort:
    • The --effort flag is now supported for gpt-5 models in addition to o1-pro.
    • Code reference: cmd/chatgpt/utils/utils.go, cmd/chatgpt/utils/utils_test.go
  • 302.AI support (documented and tested):
    • Added configuration guidance and environment variable (AI302_API_KEY) for using 302.AI.
    • Code reference: README.md

Improvements

  • Simplified provider configuration docs:
    • Azure and Perplexity examples streamlined to essential values with clearer API key guidance.
    • Added 302.AI configuration section and API reference link.
    • Code reference: README.md
  • Robust history parsing:
    • Gracefully returns an empty list when a history thread file does not exist.
    • Safely handles non-string content entries to avoid type assertion errors.
    • Code reference: history/manager.go, history/manager_test.go

Bug Fixes

  • History manager stability:
    • Treats missing history files as empty threads instead of failing.
    • Prevents potential panics by checking content types before appending user messages.
    • Code reference: history/manager.go, history/manager_test.go

Other Changes

  • Test enhancements:
    • Added coverage for gpt-5 effort compatibility and missing-thread behavior.
    • Minor test readability improvements.
    • Code reference: cmd/chatgpt/utils/utils_test.go, history/manager_test.go
  • Documentation updates:
    • Updated compatibility statement to include 302.AI and added API reference link.
    • Code reference: README.md

Upgrade Notes

  • Homebrew: brew upgrade chatgpt-cli
  • Direct download: Download the latest binaries for your OS from the releases page and replace your existing binary.
  • No breaking changes. Existing configurations continue to work. If using 302.AI, set AI302_API_KEY or add api_key to your config as documented.