mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-01 15:34:04 +08:00
feat(wren-ui): Use rephrasedQuestion for asking a question answer (#1424)
This commit is contained in:
@@ -299,7 +299,12 @@ export default function AnswerResult(props: Props) {
|
||||
className="mr-2"
|
||||
onClick={() =>
|
||||
onOpenSaveToKnowledgeModal(
|
||||
{ question, sql },
|
||||
{
|
||||
question:
|
||||
threadResponse?.askingTask?.rephrasedQuestion ||
|
||||
question,
|
||||
sql,
|
||||
},
|
||||
{ isCreateMode: true },
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user