fix: 修复知识库失败批次继续与重分块
- 统一继续和重试逻辑,恢复全部失败明细 - 向量化失败时废弃旧快照并重新分块 - 增加 BGE-M3 分块硬上限与索引写入结果校验
This commit is contained in:
@@ -15,7 +15,6 @@ interface BatchStatus {
|
||||
pendingCount: number;
|
||||
processingCount: number;
|
||||
progressPercent: number;
|
||||
retryableFailedCount?: number;
|
||||
skippedCount: number;
|
||||
status:
|
||||
| 'CANCELLED'
|
||||
@@ -53,8 +52,7 @@ const canContinue = computed(
|
||||
props.manageable &&
|
||||
(batch.value?.status === 'INTERRUPTED' ||
|
||||
batch.value?.status === 'PARTIAL_SUCCEEDED') &&
|
||||
(Number(batch.value?.retryableFailedCount || 0) > 0 ||
|
||||
Number(batch.value?.failedCount || 0) > 0),
|
||||
Number(batch.value?.failedCount || 0) > 0,
|
||||
);
|
||||
|
||||
const processedCount = computed(
|
||||
|
||||
Reference in New Issue
Block a user