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

Method complete

controller/task_plugin_debug.go:215–227  ·  view source on GitHub ↗
(task *model.Task, quota int)

Source from the content-addressed store, hash-verified

213}
214
215func (d taskPluginSubmitDiagnostics) complete(task *model.Task, quota int) {
216 if d.pluginKey == "" || task == nil {
217 return
218 }
219 logger.LogDebug(
220 d.context,
221 "task_plugin subsystem=submit event=complete generation=%d plugin=%q public_task_id=%q quota=%d durable=true",
222 d.generation,
223 d.pluginKey,
224 task.TaskID,
225 quota,
226 )
227}
228
229func (d taskPluginSubmitDiagnostics) present(task *model.Task, presenter string) {
230 if d.pluginKey == "" || task == nil {

Calls 1

LogDebugFunction · 0.92