All notable changes to GrokPHP/Client
will be documented in this file.
This project follows Semantic Versioning.
- 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
, andgrok-2-vision-1212
models. - Allows image analysis through
vision()->analyze($image, $message)
. - Automatically validates supported models to prevent incorrect usage.
- Supports
- 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.
- Refactored code formatting for better readability and maintainability.
- Implemented GitHub Actions CI to run tests automatically on each push to the
main
branch.
- Upgraded to version
1.1.0
with internal improvements and stability fixes.
- Launched
GrokPHP/Client
v1.0.0 – a robust, framework-agnostic PHP client for interacting with Grok AI APIs.
- For detailed usage, refer to the README.md.
- Found an issue? Report it on GitHub Issues.