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

Method durable

controller/task_plugin_debug.go:187–199  ·  view source on GitHub ↗
(task *model.Task)

Source from the content-addressed store, hash-verified

185}
186
187func (d taskPluginSubmitDiagnostics) durable(task *model.Task) {
188 if d.pluginKey == "" || task == nil {
189 return
190 }
191 logger.LogDebug(
192 d.context,
193 "task_plugin subsystem=submit event=durable generation=%d plugin=%q public_task_id=%q status=%q durable=true",
194 d.generation,
195 d.pluginKey,
196 task.TaskID,
197 taskPluginDebugStatus(string(task.Status)),
198 )
199}
200
201func (d taskPluginSubmitDiagnostics) settleStart(task *model.Task, quota int) {
202 if d.pluginKey == "" || task == nil {

Calls 2

LogDebugFunction · 0.92
taskPluginDebugStatusFunction · 0.85