MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / TextSection

Interface TextSection

frontend/components/chat-message-display.tsx:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101// Helper to split text content into regular text and file sections (PDF or text files)
102interface TextSection {
103 type: "text" | "file"
104 content: string
105 filename?: string
106 charCount?: number
107 fileType?: "pdf" | "text"
108}
109
110function splitTextIntoFileSections(text: string): TextSection[] {
111 const sections: TextSection[] = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected