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

Function RenderBashToolUse

tools/basic_ui.go:116–122  ·  view source on GitHub ↗
(input BashInput)

Source from the content-addressed store, hash-verified

114}
115
116func RenderBashToolUse(input BashInput) string {
117 command := input.Command
118 if len([]rune(command)) > 120 {
119 command = string([]rune(command)[:117]) + "..."
120 }
121 return "Bash " + command
122}
123
124func RenderBashToolResult(content string, isError bool) string {
125 if isError {

Callers 1

RenderGroupedBashToolUseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected