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

@@ -230,7 +230,7 @@ export const useAgentPersistence = ({
content: I18n.t('bot_created_toast'),
showClose: false,
});
// 兼容 onSuccess 回调为同步函数的场景
// Scenarios that are compatible with onSuccess callbacks as synchronization functions
await onSuccess?.(resp.data?.bot_id, paramsSpaceId, {
botName: values?.name,
botDesc: values?.target,
@@ -259,7 +259,7 @@ export const useAgentPersistence = ({
});
}
onError?.();
// 阻止弹窗关闭
// Prevent pop-ups from closing
throw e;
} finally {
setLoading(false);