mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-07 03:25:32 +00:00
fix : wrong condition
This commit is contained in:
parent
5d08565ff1
commit
df922b18a7
@ -109,7 +109,7 @@ class Interaction:
|
|||||||
"""Show the answer to the user."""
|
"""Show the answer to the user."""
|
||||||
if self.last_query is None:
|
if self.last_query is None:
|
||||||
return
|
return
|
||||||
if self.current_agent is None:
|
if self.current_agent is not None:
|
||||||
self.current_agent.show_answer()
|
self.current_agent.show_answer()
|
||||||
if self.tts_enabled and self.last_answer:
|
if self.tts_enabled and self.last_answer:
|
||||||
self.speech.speak(self.last_answer)
|
self.speech.speak(self.last_answer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user