Added image grabbing and data capacity to request and included runtime recognition

This commit is contained in:
Lyncoln
2026-10-18 00:15:59 -04:00
parent 480ca9726b
commit d58ea3112a
4 changed files with 22 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
def buildImage(response, action, outputs):
if hasattr(action, "image"):
if response is not None:
#try:
imagebytes = response.content
outputs[action.image] = imagebytes
#except AttributeError:
else:
print("No response received"),
return outputs