Delete internal directory

This commit is contained in:
公明 authored and GitHub committed 2026-08-15 01:54:26 +08:00
1 parent 5ce66ee2f8
commit 2910289f0b
591 files changed
-136567

No files matched your search

-24
View File
@@ -1,24 +0,0 @@
package workflow
import "errors"
// AwaitingHITLError indicates the workflow paused before a HITL node for human approval.
type AwaitingHITLError struct {
RunID string
NodeID string
NodeLabel string
Prompt string
Reviewer string
}
func (e *AwaitingHITLError) Error() string {
if e == nil {
return "workflow awaiting human approval"
}
return "workflow awaiting human approval at node " + e.NodeID
}
func IsAwaitingHITL(err error) bool {
var target *AwaitingHITLError
return errors.As(err, &target)
}