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

Function isOversizedReadPlaceholder

apps/sim/lib/copilot/tools/handlers/vfs.ts:51–57  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

49}
50
51function isOversizedReadPlaceholder(content: string): boolean {
52 return (
53 content.startsWith('[File too large to display inline:') ||
54 content.startsWith('[Image too large:') ||
55 content.startsWith('[Compiled artifact too large:')
56 )
57}
58
59function hasModelAttachment(result: unknown): boolean {
60 if (!result || typeof result !== 'object') {

Callers 1

executeVfsReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected