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

Function RenderNotebookEditToolResult

tools/notebook_ui.go:23–28  ·  view source on GitHub ↗
(content string, isError bool)

Source from the content-addressed store, hash-verified

21}
22
23func RenderNotebookEditToolResult(content string, isError bool) string {
24 if isError {
25 return "Notebook edit failed: " + truncateDisplayLine(content, 150)
26 }
27 return "Notebook edit OK"
28}
29
30func RenderGroupedNotebookEditToolUse(inputs []NotebookEditInput) string {
31 if len(inputs) == 0 {

Callers

nothing calls this directly

Calls 1

truncateDisplayLineFunction · 0.85

Tested by

no test coverage detected