fixed ux for expand object scrolling

This commit is contained in:
ValueOn AG 2026-05-03 22:19:23 +02:00
parent 3da6e24bec
commit e93ce71174

View file

@ -377,7 +377,11 @@ class ActionNodeExecutor:
if nodeType.startswith("ai."): if nodeType.startswith("ai."):
out["prompt"] = promptText out["prompt"] = promptText
out["response"] = extractedContext 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 # Structured output
if extractedContext: if extractedContext:
try: try: