MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / derefTaskGet

Function derefTaskGet

agent/agent_tool.go:451–459  ·  view source on GitHub ↗
(input any)

Source from the content-addressed store, hash-verified

449}
450
451func derefTaskGet(input any) TaskGetInput {
452 if v, ok := input.(*TaskGetInput); ok && v != nil {
453 return *v
454 }
455 if v, ok := input.(TaskGetInput); ok {
456 return v
457 }
458 return TaskGetInput{}
459}
460
461func derefTaskWait(input any) TaskWaitInput {
462 if v, ok := input.(*TaskWaitInput); ok && v != nil {

Callers 1

NewTaskGetToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected