diff --git a/pages/index.vue b/pages/index.vue index 2c7d9d7..54f6473 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -150,8 +150,8 @@ const getPopularInquiriesByRole = () => { }; const scrollArea = ref(null); -// 滤除 details 标签正则 -const regex = /(?<=<\/details>\n\n)[\s\S]*/gm; +// 滤除思考过程 details/think 标签正则 +const regex = /(?<=<\/details|think>\n\n)[\s\S]*/gm; // 常见问题 const inquiries = computed(