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

Function fieldByNames

ui/runtime.go:911–918  ·  view source on GitHub ↗
(value reflect.Value, names ...string)

Source from the content-addressed store, hash-verified

909 case *coretools.ToolCall:
910 if call != nil {
911 command = stringFromAny(call.Input["command"])
912 }
913 case map[string]any:
914 if input, ok := call["input"].(map[string]any); ok {
915 command = stringFromAny(input["command"])
916 }
917 }
918 distro := stringFromAny(request["distro"])
919 if command != "" && distro != "" {
920 return distro + ": " + command
921 }

Callers 2

mapStringAnyFunction · 0.85
stringFieldByNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected