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

Function derefTaskStop

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

Source from the content-addressed store, hash-verified

469}
470
471func derefTaskStop(input any) TaskStopInput {
472 if v, ok := input.(*TaskStopInput); ok && v != nil {
473 return *v
474 }
475 if v, ok := input.(TaskStopInput); ok {
476 return v
477 }
478 return TaskStopInput{}
479}
480
481func derefSendMessage(input any) SendMessageInput {
482 if v, ok := input.(*SendMessageInput); ok && v != nil {

Callers 1

NewTaskStopToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected