diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 82c977d0..2fc55a2e 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -64,7 +64,7 @@ class Application extends App implements IBootstrap { public const TASK_CATEGORY_SPEECH_TO_TEXT = 2; public const CHAT_USER_INSTRUCTIONS = 'This is a conversation in a specific language between {user} and you, Nextcloud Assistant. You are a kind, polite and helpful AI that helps {user} to the best of its abilities. If you do not understand something, you will ask for clarification. Detect the language that {user} is using. Make sure to use the same language in your response. Do not mention the language explicitly.'; - public const CHAT_USER_INSTRUCTIONS_TITLE = 'Above is a chat session in a specific language between {user} and you, Nextcloud Assistant. Generate a suitable title summarizing the conversation in the same language and output only that.'; + public const CHAT_USER_INSTRUCTIONS_TITLE = 'Above is a chat session in a specific language between {user} and you, Nextcloud Assistant. Generate a suitable title summarizing the conversation in the same language. Output only the title in plain text, nothing else.'; public function __construct(array $urlParams = []) { parent::__construct(self::APP_ID, $urlParams); diff --git a/src/components/ChattyLLM/ChattyLLMInputForm.vue b/src/components/ChattyLLM/ChattyLLMInputForm.vue index f59d7bc0..ae27ac0b 100644 --- a/src/components/ChattyLLM/ChattyLLMInputForm.vue +++ b/src/components/ChattyLLM/ChattyLLMInputForm.vue @@ -24,18 +24,10 @@ :name="getSessionTitle(session)" :title="getSessionTitle(session)" :aria-description="getSessionTitle(session)" - :editable="true" - :edit-label="t('assistant', 'Edit Title')" - @click="onSessionSelect(session)" - @update:name="(newTitle) => onEditSessionTitle(session.id, newTitle)"> + :editable="false" + :inline-actions="1" + @click="onSessionSelect(session)">