MCPcopy Create free account
hub / github.com/compozy/agh / createTaskMaxAttempts

Function createTaskMaxAttempts

internal/task/manager.go:611–616  ·  view source on GitHub ↗
(spec CreateTask)

Source from the content-addressed store, hash-verified

609}
610
611func createTaskMaxAttempts(spec CreateTask) int {
612 if spec.MaxAttempts == nil {
613 return DefaultTaskMaxAttempts
614 }
615 return normalizeTaskMaxAttemptsOrDefault(*spec.MaxAttempts)
616}
617
618func createdTaskStatus(spec CreateTask) Status {
619 if spec.Draft {

Callers 1

CreateTaskMethod · 0.85

Calls 1

Tested by

no test coverage detected