Feat : Save exec block to file, More programming language supported in tools

This commit is contained in:
martin legrand
2025-02-24 09:59:28 +01:00
parent 72989b0811
commit 35022765f7
9 changed files with 318 additions and 45 deletions
+3 -1
View File
@@ -10,6 +10,8 @@ class Interaction:
self.is_active = True
self.last_query = None
self.last_answer = None
if tts_enabled:
self.speech.speak("Hello Sir, we are online and ready. What can I do for you ?")
def is_active(self):
return self.is_active
@@ -22,7 +24,7 @@ class Interaction:
buffer = input(f">>> ")
except EOFError:
return None
if buffer == "exit":
if buffer == "exit" or buffer == "goodbye":
return None
return buffer