From e93ce7117449772afb10d7d5e47353ca9c0c1e2d 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 6162aa2d..163ed3b2 100644
--- a/modules/workflows/automation2/executors/actionNodeExecutor.py
+++ b/modules/workflows/automation2/executors/actionNodeExecutor.py
@@ -377,7 +377,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: