From 218c58709ef6b8f13ab598601ac8caee39c4f0d5 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Sun, 3 May 2026 22:19:23 +0200
Subject: [PATCH] fixed ux for expand object scrolling
---
.../workflows/automation2/executors/actionNodeExecutor.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/workflows/automation2/executors/actionNodeExecutor.py b/modules/workflows/automation2/executors/actionNodeExecutor.py
index c1be349c..2806bd4c 100644
--- a/modules/workflows/automation2/executors/actionNodeExecutor.py
+++ b/modules/workflows/automation2/executors/actionNodeExecutor.py
@@ -509,7 +509,11 @@ class ActionNodeExecutor:
if nodeType.startswith("ai."):
out["prompt"] = promptText
out["response"] = extractedContext
- out["context"] = f"{promptText}\n\n{extractedContext}" if promptText and extractedContext else (extractedContext or promptText)
+ inputContext = resolvedParams.get("context")
+ if inputContext is not None:
+ out["context"] = inputContext if isinstance(inputContext, str) else json.dumps(inputContext, ensure_ascii=False, default=str)
+ else:
+ out["context"] = ""
# Structured output
if extractedContext:
try: