MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / handleKeyDown

Function handleKeyDown

ui/node-react/client/src/components/ChatView.js:210–215  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

208 };
209
210 const handleKeyDown = (e) => {
211 if (e.key === 'Enter' && !e.shiftKey) {
212 e.preventDefault();
213 handleSend();
214 }
215 };
216
217 const handleFeedback = (type, offset) => {
218 setFeedbackModal({ chatId: sessionId, messageOffset: offset, type });

Callers

nothing calls this directly

Calls 1

handleSendFunction · 0.85

Tested by

no test coverage detected