MCPcopy
hub / github.com/the-open-agent/openagent / GetTask

Function GetTask

object/task.go:146–152  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

144}
145
146func GetTask(id string) (*Task, error) {
147 owner, name, err := util.GetOwnerAndNameFromIdWithError(id)
148 if err != nil {
149 return nil, err
150 }
151 return getTask(owner, name)
152}
153
154// GetTaskEffectiveScale returns rubric text: from referenced Scale.Text when Task.Scale is set.
155func GetTaskEffectiveScale(task *Task) (string, error) {

Callers 5

UploadTaskDocumentMethod · 0.92
GetTaskMethod · 0.92
UpdateTaskMethod · 0.92
DeleteTaskMethod · 0.92
AnalyzeTaskMethod · 0.92

Calls 2

getTaskFunction · 0.70

Tested by

no test coverage detected