MCPcopy Create free account
hub / github.com/QuantumNous/new-api / taskPluginDebugStatus

Function taskPluginDebugStatus

controller/task_plugin_debug.go:258–269  ·  view source on GitHub ↗
(status string)

Source from the content-addressed store, hash-verified

256}
257
258func taskPluginDebugStatus(status string) string {
259 switch model.TaskStatus(status) {
260 case model.TaskStatusSubmitted,
261 model.TaskStatusQueued,
262 model.TaskStatusInProgress,
263 model.TaskStatusSuccess,
264 model.TaskStatusFailure:
265 return status
266 default:
267 return "unknown"
268 }
269}

Callers 5

serveTaskPluginProtocolFunction · 0.85
streamTaskPluginProtocolFunction · 0.85
waitTaskPluginProtocolFunction · 0.85
durableMethod · 0.85

Calls 1

TaskStatusTypeAlias · 0.92

Tested by

no test coverage detected