Skip to content

Commit 5e689e0

Browse files
committed
feat(wren-ui): Use rephrasedQuestion for asking a question answer
1 parent 29d1466 commit 5e689e0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

wren-ui/src/components/pages/home/promptThread/AnswerResult.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,12 @@ export default function AnswerResult(props: Props) {
299299
className="mr-2"
300300
onClick={() =>
301301
onOpenSaveToKnowledgeModal(
302-
{ question, sql },
302+
{
303+
question:
304+
threadResponse?.askingTask?.rephrasedQuestion ||
305+
question,
306+
sql,
307+
},
303308
{ isCreateMode: true },
304309
)
305310
}

0 commit comments

Comments
 (0)