This commit is contained in:
Saifeddine ALOUI 2024-03-09 21:59:07 +01:00
parent 2608518919
commit f3dbf53772
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit a626d99b8b173f0ffe652a657884bd26a6297105
Subproject commit 3e0af3407ee597330b4d221bf422ed8e6e646afb

View File

@ -612,7 +612,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
"""
# Get the list of messages
messages = discussion.get_messages()
discussion_messages = "!@>instruction: Create a short title to this discussion\n"
discussion_messages = "!@>instruction: Create a short title to this discussion\nYour response should only contain the title without any comments.\n"
discussion_title = "\n!@>Discussion title:"
available_space = self.config.ctx_size - 150 - len(self.model.tokenize(discussion_messages))- len(self.model.tokenize(discussion_title))

@ -1 +1 @@
Subproject commit 0bee70751d4b85eb43f7d4c30d098e725bdd0106
Subproject commit 2ac2075cdc0685eee30983e3ba433e8e46b4386f