fixed ux for expand object scrolling
This commit is contained in:
parent
a6806dd04b
commit
218c58709e
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue