MCPcopy Create free account
hub / github.com/vercel/examples / handleSendMessage

Function handleSendMessage

python/vibe-coding-ide/frontend/src/app/App.tsx:322–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 }, [codeFix, setInput, isThinking, sendPrompt, setCodeFix])
321
322 const handleSendMessage = async () => {
323 if (!input.trim() || isThinking) return
324 await sendPrompt()
325 }
326
327 const handleCancelTask = () => {
328 // Cancel only if the latest run is the active thinking one

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected