MCPcopy Index your code
hub / github.com/simstudioai/sim / isRenderableDocExt

Function isRenderableDocExt

apps/sim/lib/copilot/tools/server/files/doc-render.ts:13–15  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

11const RENDERABLE_EXTS = new Set(['pptx', 'docx', 'pdf'])
12
13export function isRenderableDocExt(ext: string): boolean {
14 return RENDERABLE_EXTS.has(ext.toLowerCase())
15}
16
17export interface DocRender {
18 /** A single contact-sheet grid JPEG of all pages, for the agent's visual QA. */

Callers 2

readFileContentMethod · 0.90
renderDocToGridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected