MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / onSubmit

Function onSubmit

demo/chat/App.tsx:450–453  ·  view source on GitHub ↗
(e: FormEvent)

Source from the content-addressed store, hash-verified

448 }, [appendStreamPart, draft, paintRawStream, session.messages, streaming]);
449
450 const onSubmit = (e: FormEvent) => {
451 e.preventDefault();
452 void send();
453 };
454
455 const lastAssistant = [...displayMessages]
456 .reverse()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected