update
This commit is contained in:
parent
17f1fbd0ed
commit
2d44fe236f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue