fix: 更新正则表达式以滤除思考过程的 details/think 标签

This commit is contained in:
Timothy Yin 2025-03-31 11:18:44 +08:00
parent 8b87de67c1
commit 71de9bb6d2
Signed by: HoshinoSuzumi
GPG Key ID: 4052E565F04B122A

View File

@ -150,8 +150,8 @@ const getPopularInquiriesByRole = () => {
}; };
const scrollArea = ref<HTMLDivElement | null>(null); const scrollArea = ref<HTMLDivElement | null>(null);
// details // details/think
const regex = /(?<=<\/details>\n\n)[\s\S]*/gm; const regex = /(?<=<\/details|think>\n\n)[\s\S]*/gm;
// //
const inquiries = computed( const inquiries = computed(