Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| GrokClient | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| setClient | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| chat | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Mbvb1223\ChatAiMulticlient\Clients; |
| 6 | |
| 7 | use GuzzleHttp\Client; |
| 8 | |
| 9 | class GrokClient extends BaseClient |
| 10 | { |
| 11 | public function setClient(string $apiKey): void |
| 12 | { |
| 13 | // TODO: Implement setClient() method. |
| 14 | } |
| 15 | |
| 16 | public function chat(string $text, string $model = null, array $options = []): string |
| 17 | { |
| 18 | return 'grok is chatting'; |
| 19 | } |
| 20 | } |