MCPcopy Create free account
hub / github.com/Waishnav/devspace / shouldUseHeavyPayload

Function shouldUseHeavyPayload

src/ui/workspace-app.tsx:297–299  ·  view source on GitHub ↗
(card: ToolResultCard)

Source from the content-addressed store, hash-verified

295}
296
297function shouldUseHeavyPayload(card: ToolResultCard): boolean {
298 return isReadTool(card.tool) || isEditTool(card.tool) || isWriteTool(card.tool);
299}
300
301function unmountPayload(): void {
302 unmountCurrentPayload();

Callers 1

renderPayloadIfNeededFunction · 0.85

Calls 3

isReadToolFunction · 0.85
isEditToolFunction · 0.85
isWriteToolFunction · 0.85

Tested by

no test coverage detected