Skip to content

Commit 7e8bae0

Browse files
committed
fix: chat user instructions
Signed-off-by: Jana Peper <[email protected]>
1 parent 522bdfc commit 7e8bae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Controller/ChattyLLMController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function newSession(int $timestamp, ?string $title = null): JSONResponse
132132
Application::APP_ID,
133133
'chat_user_instructions',
134134
Application::CHAT_USER_INSTRUCTIONS,
135-
);
135+
) ?: Application::CHAT_USER_INSTRUCTIONS;
136136
$userInstructions = str_replace('{user}', $user->getDisplayName(), $userInstructions);
137137

138138
try {

0 commit comments

Comments
 (0)