test: cover ai platform demo workflow
This commit is contained in:
@@ -242,7 +242,7 @@ def _repair_output(
|
||||
f"校验错误:{validation_error}\n"
|
||||
f"原始输出:{raw_output}"
|
||||
)
|
||||
invocation = _invoke_for_step(run, step, prompt, "repair")
|
||||
invocation = _invoke_for_step(run, step, prompt, "structure_repair")
|
||||
attempt = step.attempts.order_by("-created_at").first()
|
||||
if attempt:
|
||||
attempt.validation_error = validation_error
|
||||
|
||||
Reference in New Issue
Block a user