mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
upgraded
This commit is contained in:
parent
2608518919
commit
f3dbf53772
@ -1 +1 @@
|
||||
Subproject commit a626d99b8b173f0ffe652a657884bd26a6297105
|
||||
Subproject commit 3e0af3407ee597330b4d221bf422ed8e6e646afb
|
@ -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
|
Loading…
Reference in New Issue
Block a user