mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-28 20:05:51 +00:00
Update app.py
This commit is contained in:
parent
062418120e
commit
174363c7ae
@ -1171,6 +1171,7 @@ Answer directly with the reformulation of the last prompt.
|
||||
show_progress=True,
|
||||
callback=self.personality.sink
|
||||
)
|
||||
query = self.personality.remove_thinking_blocks(query)
|
||||
self.personality.step_end("Building vector store query")
|
||||
self.personality.step(f"Query: {query}")
|
||||
else:
|
||||
@ -1276,6 +1277,7 @@ Answer directly with the reformulation of the last prompt.
|
||||
f"{self.ai_custom_header('websearch query')}"
|
||||
])
|
||||
query = self.personality.fast_gen(q, max_generation_size=256, show_progress=True, callback=self.personality.sink)
|
||||
query = self.personality.remove_thinking_blocks(query)
|
||||
query = query.replace("\"","")
|
||||
self.personality.step_end("Crafting internet search query")
|
||||
self.personality.step(f"web search query: {query}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user