From df922b18a7a978ff0bce6b46c8d04d68698fd56b Mon Sep 17 00:00:00 2001 From: martin legrand Date: Wed, 26 Mar 2025 11:09:05 +0100 Subject: [PATCH] fix : wrong condition --- sources/interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/interaction.py b/sources/interaction.py index 6c5374e..6e9acf8 100644 --- a/sources/interaction.py +++ b/sources/interaction.py @@ -109,7 +109,7 @@ class Interaction: """Show the answer to the user.""" if self.last_query is None: return - if self.current_agent is None: + if self.current_agent is not None: self.current_agent.show_answer() if self.tts_enabled and self.last_answer: self.speech.speak(self.last_answer)