fix: 更新正则表达式以滤除思考过程的 details/think 标签
This commit is contained in:
parent
8b87de67c1
commit
71de9bb6d2
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user