skipped action should mark as success (#3080)

This commit is contained in:
LawyZheng
2025-08-04 10:49:44 +08:00
committed by GitHub
parent 539a1ae6da
commit f2510bf2b7
3 changed files with 6 additions and 2 deletions

View File

@@ -118,7 +118,9 @@ function useActions({ id }: Props): {
confidence: action.confidence_float ?? undefined,
input: action.response ?? "",
type: action.action_type,
success: action.status === Status.Completed,
success:
action.status === Status.Completed ||
action.status === Status.Skipped,
stepId: action.step_id ?? "",
index: action.action_order ?? 0,
};