Separated listener by introducing create listener. Working State. Message loop prevention filters added to server

This commit is contained in:
Lyncoln
2026-10-17 03:42:46 -04:00
parent d260d3681e
commit c7628df30e
14 changed files with 84 additions and 51 deletions
+4 -4
View File
@@ -2,7 +2,7 @@ import json
def buildOutput(response, action, outputs):
if hasattr(action, "outputs"):
if response != None:
if response is not None:
try:
response_data = response.json()
except AttributeError:
@@ -20,13 +20,13 @@ def buildOutput(response, action, outputs):
for output_name, response_key in action.outputs.items():
if key == response_key:
outputs[output_name] = value
return outputs
else:
return outputs
print("No response received"),
#return outputs
return outputs