Skip to content

fix: Fix intent-node execution details not displaying user input#6261

Open
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/58-fix-intentNode-showUserInput
Open

fix: Fix intent-node execution details not displaying user input#6261
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/58-fix-intentNode-showUserInput

Conversation

@wangliang181230

Copy link
Copy Markdown
Contributor

fix: Fix intent-node execution details not displaying user input
修复 意图识别 节点的执行详情,未显示用户输入内容的问题。


  1. 修复前:
    图片

  2. 修复后:
    图片

</h5>
<div class="p-8-12 border-t-dashed lighter pre-wrap">
{{ data.question || '-' }}
{{ data.question || data.user_input || '-' }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

意图识别 节点的用户输入为 data.user_input,不是 data.question

@wangliang181230 wangliang181230 force-pushed the PR/58-fix-intentNode-showUserInput branch 6 times, most recently from 9867a58 to 1c2926c Compare June 25, 2026 09:21
Comment thread apps/application/flow/common.py Outdated
else:
edge_list = [edge for edge in self.edges if edge.sourceNodeId == node.id]
if len(edge_list) == 0 and not end_nodes.__contains__(node.type):
if len(edge_list) == 0 and node.type not in END_NODES:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O(n) -> O(1)

@wangliang181230 wangliang181230 force-pushed the PR/58-fix-intentNode-showUserInput branch from 1c2926c to c5dad0d Compare June 25, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant