chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -16,7 +16,7 @@
export const filterUnnecessaryContentFromSlice = (slice: string): string => {
let res = slice;
// 过滤img 标签
// Filter img tags
res = res.replaceAll(/<(\n)*img((?!(<(\n)*img))(.|\n))*>/g, '');
return res;
};

View File

@@ -104,7 +104,7 @@ function RecallSlice(props: { llmOutput: LLMOutput; index: number }) {
[meta.document],
);
// 后面改成 staring
// Change the back to staring.
const sliceTag = `Recall slice ${index + 1}`;
const filteredSlice = filterUnnecessaryContentFromSlice(slice);