feat : signal handler now agent specific instead of global

This commit is contained in:
martin legrand
2025-04-06 19:46:52 +02:00
parent 26e9dbcd40
commit bb67df8f42
5 changed files with 9 additions and 9 deletions
+1
View File
@@ -41,6 +41,7 @@ def setup():
def get_updated_sentence():
if not generator:
return jsonify({"error": "Generator not initialized"}), 405
print(generator.get_status())
return generator.get_status()
if __name__ == '__main__':