From fda8f3abef5a048aff41d43c15ba930eda0a7214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Sat, 5 Jul 2025 14:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BF=A1=E4=BB=A3=E7=A0=81=E5=BA=93-F?= =?UTF-8?q?ollowupQuestions=E6=8E=A5=E5=8F=A3=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Jyh/AI/Home/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/Jyh/AI/Home/index.vue b/src/views/Jyh/AI/Home/index.vue index 76c7c5b..3c79897 100644 --- a/src/views/Jyh/AI/Home/index.vue +++ b/src/views/Jyh/AI/Home/index.vue @@ -514,11 +514,13 @@ const fetchFollowupQuestions = async (question,df_id,sql_id='') => { // 构造请求参数(需根据实际文档补充 df_id 和 sql_id,示例中使用空字符串占位) let params = { question, + sql:'', df_id: df_id || '', // 使用当前会话ID,若无则为空 sql_id: sql_id || '' // 同上 }; if (question?.sql) { params.question = question.question + params.sql = question?.sql || '' } // const response = await axios.post( // `${VITE_AI_API_HOST}/api/v0/provide_followup_questions`,