|
188 | 188 | </template> |
189 | 189 | <!-- AI 对话 --> |
190 | 190 | <template |
191 | | - v-if="data.type == WorkflowType.AiChat || data.type == WorkflowType.ImageUnderstandNode || data.type == WorkflowType.VideoUnderstandNode"> |
| 191 | + v-if="data.type == WorkflowType.AiChat"> |
192 | 192 | <div class="card-never border-r-6"> |
193 | 193 | <h5 class="p-8-12"> |
194 | 194 | {{ $t('views.application.form.roleSettings.label') }} |
|
609 | 609 | </div> |
610 | 610 | </div> |
611 | 611 | </div> |
| 612 | + <div class="card-never border-r-6 mt-8"> |
| 613 | + <h5 class="p-8-12"> |
| 614 | + {{ $t('workflow.nodes.aiChatNode.think') }} |
| 615 | + </h5> |
| 616 | + <div class="p-8-12 border-t-dashed lighter"> |
| 617 | + <MdPreview |
| 618 | + v-if="data.reasoning_content" |
| 619 | + ref="editorRef" |
| 620 | + editorId="preview-only" |
| 621 | + :modelValue="data.reasoning_content" |
| 622 | + style="background: none" |
| 623 | + noImgZoomIn |
| 624 | + /> |
| 625 | + <template v-else> -</template> |
| 626 | + </div> |
| 627 | + </div> |
612 | 628 | <div class="card-never border-r-6 mt-8"> |
613 | 629 | <h5 class="p-8-12"> |
614 | 630 | {{ $t('chat.executionDetails.answer') }} |
|
693 | 709 | </div> |
694 | 710 | </div> |
695 | 711 | </div> |
| 712 | + <div class="card-never border-r-6 mt-8"> |
| 713 | + <h5 class="p-8-12"> |
| 714 | + {{ $t('workflow.nodes.aiChatNode.think') }} |
| 715 | + </h5> |
| 716 | + <div class="p-8-12 border-t-dashed lighter"> |
| 717 | + <MdPreview |
| 718 | + v-if="data.reasoning_content" |
| 719 | + ref="editorRef" |
| 720 | + editorId="preview-only" |
| 721 | + :modelValue="data.reasoning_content" |
| 722 | + style="background: none" |
| 723 | + noImgZoomIn |
| 724 | + /> |
| 725 | + <template v-else> -</template> |
| 726 | + </div> |
| 727 | + </div> |
696 | 728 | <div class="card-never border-r-6 mt-8"> |
697 | 729 | <h5 class="p-8-12"> |
698 | 730 | {{ $t('chat.executionDetails.answer') }} |
|
882 | 914 | </h5> |
883 | 915 | <div class="p-8-12 border-t-dashed lighter"> |
884 | 916 | <div v-for="(f, i) in data.result_list" :key="i" class="mb-8"> |
885 | | - <span class="color-secondary">{{ f.name }} ({{ f.input_type }}):</span> {{ f.input_value }} |
| 917 | + <span class="color-secondary">{{ f.name }} ({{ f.input_type }}):</span> |
| 918 | + {{ f.input_value }} |
886 | 919 | </div> |
887 | 920 | </div> |
888 | 921 | </div> |
|
892 | 925 | </h5> |
893 | 926 | <div class="p-8-12 border-t-dashed lighter"> |
894 | 927 | <div v-for="(f, i) in data.result_list" :key="i" class="mb-8"> |
895 | | - <span class="color-secondary">{{ f.name }} ({{ f.output_type }}):</span> {{ f.output_value }} |
| 928 | + <span class="color-secondary">{{ f.name }} ({{ f.output_type }}):</span> |
| 929 | + {{ f.output_value }} |
896 | 930 | </div> |
897 | 931 | </div> |
898 | 932 | </div> |
|
0 commit comments