Fix : searxng now failing gracefully

This commit is contained in:
martin legrand
2025-03-18 12:17:41 +01:00
parent 0616f39e35
commit 372da19f30
4 changed files with 10 additions and 10 deletions
+1
View File
@@ -102,6 +102,7 @@ class Interaction:
self.current_agent = agent
# get history from previous agent, good ?
self.current_agent.memory.push('user', self.last_query)
self.current_agent.memory.push('assistant', self.last_answer)
self.last_answer, _ = agent.process(self.last_query, self.speech)
def show_answer(self) -> None: