|
|
@@ -1,6 +1,12 @@
|
|
|
<template>
|
|
|
<div class="dialog-item-container">
|
|
|
- <DialogQuestion v-if="item_type === 'q'" :question="questionInfo" @send="handleSend" @select="handleSelectChat" />
|
|
|
+ <DialogQuestion
|
|
|
+ v-if="item_type === 'q'"
|
|
|
+ :question="questionInfo"
|
|
|
+ :agent_id="agent_id"
|
|
|
+ @send="handleSend"
|
|
|
+ @select="handleSelectChat"
|
|
|
+ />
|
|
|
|
|
|
<DialogAnswer
|
|
|
v-if="item_type === 'a'"
|
|
|
@@ -32,7 +38,8 @@ const props = defineProps({
|
|
|
*/
|
|
|
width: Number,
|
|
|
|
|
|
- answer_action_list: Array
|
|
|
+ answer_action_list: Array,
|
|
|
+ agent_id: String
|
|
|
});
|
|
|
|
|
|
const emit = defineEmits(['stop', 'retry', 'select', 'edit', 'download', 'toSearchPage', 'toShowMindMap', 'send']);
|