refactor: improve validation process by adding variable substitution and enhancing error handling

This commit is contained in:
lilong.129
2025-06-18 23:14:43 +08:00
parent e40db65287
commit e3432a192d
3 changed files with 95 additions and 36 deletions

View File

@@ -2575,7 +2575,7 @@ const htmlTemplate = `<!DOCTYPE html>
{{end}}
<!-- Enhanced AI Validator Display -->
{{if eq $validator.check "ui_ai"}}
{{if or (eq $validator.check "ui_ai") (eq $validator.assert "ai_assert")}}
<div class="validator-ai-content">
<!-- Extract AI validation details from step logs -->
{{$stepLogs := getStepLogs $step}}