Skip to content

Commit 8f787d3

Browse files
committed
typo fix
1 parent 2e98207 commit 8f787d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mastashake08/laravel-openai-api",
33
"description": "Add an OpenAI API and Artisan command easily into your projects. Generate images, or text. Can be integrated with Laravel Sanctum for token based access.",
4-
"version": "1.7.8",
4+
"version": "1.7.9",
55
"keywords": [
66
"mastashake08",
77
"laravel",

src/LaravelOpenaiApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class LaravelOpenaiApi
99
{
1010
function generateChat(array $data): Prompt {
11-
$result = $client->chat()->create($data);
11+
$result = OpenAI::chat()->create($data);
1212
return $result;
1313
}
1414

0 commit comments

Comments
 (0)