MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / handleCustomMessage

Function handleCustomMessage

examples/nextjs/components/chat-advanced.tsx:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 };
69
70 const handleCustomMessage = () => {
71 sendMessage('This is a custom message', {
72 data: { context: 'custom context' },
73 allowEmptySubmit: false,
74 });
75 };
76
77 return (
78 <div className="flex flex-col h-[80vh] max-w-2xl mx-auto p-4 w-full">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected