Feat : browser agent v1.0

This commit is contained in:
martin legrand
2025-03-11 15:22:42 +01:00
parent e9e2e3ecf2
commit 9f9907cedb
6 changed files with 96 additions and 10 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Interaction:
return
if self.current_agent != agent:
self.current_agent = agent
# get history from previous agent
# get history from previous agent, good ?
self.current_agent.memory.push('user', self.last_query)
self.last_answer, _ = agent.process(self.last_query, self.speech)