This commit is contained in:
Thommy Bucaille 2024-01-05 01:49:08 +01:00
parent 17f1fbd0ed
commit 2d44fe236f
1 changed files with 2 additions and 2 deletions

View File

@ -675,12 +675,12 @@ class ChatController extends BaseController
if (Auth::check()) {
$text = "### Instruction:\n" . Auth::user()->username . ": ";
} else {
$text = "### Instruction:\nSystem: ";
$text = "### Instruction:\n";
}
} elseif ($message['role'] === "system") {
$text = "### Context:\n";
} elseif ($message['role'] === "assistant") {
$text = "### Response:\nScotty: ";
$text = "### Response:\n";
} // elseif TODO Handle tool
// Clean extra whitespaces