Skip to content

Releases: grok-php/client

v1.3.0

24 Feb 20:51
Compare
Choose a tag to compare

[v1.3.0] - 2025-02-24

New Features

  • Vision API Support: Added a new Vision class to analyze images using the Grok-2-Vision models.
    • Supports grok-2-vision, grok-2-vision-latest, and grok-2-vision-1212 models.
    • Allows image analysis through vision()->analyze($image, $message).
    • Automatically validates supported models to prevent incorrect usage.

Full Changelog: v1.2.0...v1.3.0

v1.2.0

24 Feb 16:27
Compare
Choose a tag to compare

[v1.2.0] - 2025-02-24

Improvements

  • Replaced Pest with PHPUnit for testing, aligning with industry standards.
  • Enhanced exception handling to provide more structured and informative error responses.
  • Updated GitHub Actions workflow to support PHP 8.2, 8.3, and 8.4.

Full Changelog: 1.1.1...v1.2.0

1.1.1

11 Feb 21:47
Compare
Choose a tag to compare
  • Refactored code formatting for better readability and maintainability.
  • Implemented GitHub Actions CI to run tests automatically on each push to the main branch.