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

Function handleReplicateFlowchart

frontend/components/chat-example-panel.tsx:66–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 setFiles: (files: File[]) => void
65}) {
66 const handleReplicateFlowchart = async () => {
67 setInput("Replicate this flowchart.")
68
69 try {
70 const response = await fetch("/example.png")
71 const blob = await response.blob()
72 const file = new File([blob], "example.png", { type: "image/png" })
73 setFiles([file])
74 } catch (error) {
75 console.error("Error loading example image:", error)
76 }
77 }
78
79 const handleReplicateArchitecture = async () => {
80 setInput("Replicate this in aws style")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected