Skip to content

Commit

Permalink
Update CreateTldrCommentJob.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschucki authored Jan 30, 2024
1 parent 039ac77 commit 3a426df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/CreateTldrCommentJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected function getTldrValue(string $comment): ?string
try {
$client = OpenAI::client(config('services.openai.api_key'));
$response = $client->chat()->create([
'model' => 'gpt-3.5-turbo-1106',
'model' => 'gpt-3.5-turbo',
'messages' => [
['role' => 'user', 'content' => $this->basePrompt.$comment],
],
Expand Down

0 comments on commit 3a426df

Please sign in to comment.