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`,