MCPcopy Create free account
hub / github.com/compozy/agh / normalizeExtractorJSONLLine

Function normalizeExtractorJSONLLine

internal/daemon/memory_runtime.go:798–806  ·  view source on GitHub ↗
(raw string)

Source from the content-addressed store, hash-verified

796}
797
798func normalizeExtractorJSONLLine(raw string) string {
799 line := strings.TrimSpace(raw)
800 switch line {
801 case "", "```", "```json", "```jsonl":
802 return ""
803 default:
804 return line
805 }
806}
807
808func candidateFromExtractedLine(
809 line extractedMemoryLine,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected