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

Function handleCustomMessage

examples/astro/src/components/chat-advanced.tsx:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 };
67
68 const handleCustomMessage = () => {
69 sendMessage('This is a custom message', {
70 data: {context: 'custom context'},
71 allowEmptySubmit: false,
72 });
73 };
74
75 return (
76 <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