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

@@ -36,11 +36,11 @@ export function validateChunk(decodedChunk: string): void {
let json: unknown;
try {
json = JSON.parse(decodedChunk);
// eslint-disable-next-line @coze-arch/no-empty-catch, @coze-arch/use-error-in-catch -- 设计如此
// eslint-disable-next-line @coze-arch/no-empty-catch, @coze-arch/use-error-in-catch -- designed like this
} catch {
/**
* 此处捕获 JSON.parse 错误不做任何处理
* 正常流式返回 json 解析失败才是正常的
* Catch JSON.parse errors here without any processing
* It is normal for normal streaming to return json parsing failure.
*/
}