Skip to content

Commit 93a60c9

Browse files
authored
Update Chat.php
1 parent d33342f commit 93a60c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Chat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function gpt(string $prompt)
101101
private function title(string $prompt)
102102
{
103103
if (sizeof($this->messages) < 4 and $this->title == 'New Chat') {
104-
$content = "Résume ce prompt en quelques mots: " . $prompt;
104+
$content = "Résume ce texte en quelques mots: " . $prompt;
105105

106106
$response = $this->client->chat()->create([
107107
'model' => config('chatgpt.openai.model'),

0 commit comments

Comments
 (0)