diff --git a/lollms_core b/lollms_core index a4c1bed0..ab03d234 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit a4c1bed01e3f94987026fb5c6f853215fc5a37fa +Subproject commit ab03d2348fe546b1bf2947eeb6b8a0efc444b2b4 diff --git a/lollms_webui.py b/lollms_webui.py index e2106bbf..d495d7e6 100644 --- a/lollms_webui.py +++ b/lollms_webui.py @@ -749,7 +749,7 @@ class LOLLMSWebUI(LOLLMSElfServer): need=True if need: self.personality.step_start("Crafting internet search query") - query = self.personality.fast_gen(f"!@>discussion:\n{discussion[-2048:]}\n!@>instruction: Read the discussion and craft a web search query suited to recover needed information to reply to last {self.config.user_name} message.\nDo not answer the prompt. Do not add explanations.\n!@>websearch query: ", max_generation_size=256, show_progress=True, callback=self.personality.sink) + query = self.personality.fast_gen(f"!@>discussion:\n{discussion[-2048:]}\n!@>system: Read the discussion and craft a web search query suited to recover needed information to reply to last {self.config.user_name} message.\nDo not answer the prompt. Do not add explanations.\n!@>websearch query: ", max_generation_size=256, show_progress=True, callback=self.personality.sink) self.personality.step_end("Crafting internet search query") self.personality.step(f"web search query: {query}") @@ -788,7 +788,7 @@ class LOLLMSWebUI(LOLLMSElfServer): if self.config.data_vectorization_build_keys_words: discussion = self.recover_discussion(client_id) query = self.personality.fast_gen(f"\n!@>instruction: Read the discussion and rewrite the last prompt for someone who didn't read the entire discussion.\nDo not answer the prompt. Do not add explanations.\n!@>discussion:\n{discussion[-2048:]}\n!@>enhanced query: ", max_generation_size=256, show_progress=True) - ASCIIColors.cyan(f"Query:{query}") + ASCIIColors.cyan(f"Query: {query}") else: query = current_message.content diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo index 542ee5be..dc80c0fc 160000 --- a/zoos/personalities_zoo +++ b/zoos/personalities_zoo @@ -1 +1 @@ -Subproject commit 542ee5becb01616c312404343c64ca5797104591 +Subproject commit dc80c0fc674593ed879331ebbee62c27331caa4e