Skip to content

Commit 11a9031

Browse files
author
yubaichao
committed
add skills detection error summary field
1 parent 3dba914 commit 11a9031

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

model/skill_result.go

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ package model
22

33
// SkillSummary 表示 Skills 检测摘要。
44
type SkillSummary struct {
5-
Enabled bool `json:"enabled"`
6-
Total int `json:"total"`
7-
RiskCount int `json:"risk_count"`
8-
MaliciousCount int `json:"malicious_count"`
9-
SuspiciousCount int `json:"suspicious_count"`
10-
SafeCount int `json:"safe_count"`
11-
PendingCount int `json:"pending_count"`
12-
FailedCount int `json:"failed_count"`
13-
DetectorAvailable bool `json:"detector_available"`
14-
LLMAvailable bool `json:"llm_available"`
5+
Enabled bool `json:"enabled"`
6+
Total int `json:"total"`
7+
RiskCount int `json:"risk_count"`
8+
MaliciousCount int `json:"malicious_count"`
9+
SuspiciousCount int `json:"suspicious_count"`
10+
SafeCount int `json:"safe_count"`
11+
PendingCount int `json:"pending_count"`
12+
DetectionErrorCount int `json:"detection_error_count"`
13+
FailedCount int `json:"failed_count"`
14+
DetectorAvailable bool `json:"detector_available"`
15+
LLMAvailable bool `json:"llm_available"`
1516
}
1617

1718
// SkillItem 表示单个 Skill 的检测结果。

0 commit comments

Comments
 (0)