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