Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix chat() method return type
  • Loading branch information
kenarsuleyman committed Jun 23, 2025
commit ded60141a98e76a0dd288f2fd080a58a7f09880e
3 changes: 2 additions & 1 deletion src/Facades/GrokAI.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
namespace GrokPHP\Laravel\Facades;

use GrokPHP\Client\Clients\Vision;
use GrokPHP\Laravel\Support\GrokResponse;
use Illuminate\Support\Facades\Facade;

/**
* @method static array chat(array $messages, ?\GrokPHP\Client\Config\ChatOptions $options = null)
* @method static GrokResponse chat(array $messages, ?\GrokPHP\Client\Config\ChatOptions $options = null)
* @method static Vision vision()
*/
class GrokAI extends Facade
Expand Down