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 from 7fd82aa to 7470c6e Compare June 22, 2026 03:17
'padding_problem_text') if 'problem_padding' in chat_record.details else None,
**(show_source_dict if show_source else {}),
**(show_exec_dict if show_exec else show_exec_dict)
**show_exec_dict

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.

if 和 else 是同一个值,所以去掉 if else

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