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

Function stringFieldByNames

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

Source from the content-addressed store, hash-verified

901 return mapStringAny(value)
902}
903
904func sandboxSetupTarget(request map[string]any, toolCall any) string {
905 command := ""
906 switch call := toolCall.(type) {
907 case coretools.ToolCall:
908 command = stringFromAny(call.Input["command"])
909 case *coretools.ToolCall:
910 if call != nil {
911 command = stringFromAny(call.Input["command"])
912 }

Callers 1

skillShellRequestPartsFunction · 0.85

Calls 2

fieldByNamesFunction · 0.85
stringFromAnyFunction · 0.70

Tested by

no test coverage detected