MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / closeResponse

Function closeResponse

packages/ui/src/views/chatmessage/ChatMessage.jsx:1224–1233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222 }
1223
1224 const closeResponse = () => {
1225 cleanupCalledTools()
1226 setLoading(false)
1227 setUserInput('')
1228 setUploadedFiles([])
1229 setTimeout(() => {
1230 inputRef.current?.focus()
1231 scrollToBottom()
1232 }, 100)
1233 }
1234 // Prevent blank submissions and allow for multiline input
1235 const handleEnter = (e) => {
1236 // Check if IME composition is in progress

Callers 3

onmessageFunction · 0.85
oncloseFunction · 0.85
onerrorFunction · 0.85

Calls 2

cleanupCalledToolsFunction · 0.85
scrollToBottomFunction · 0.85

Tested by

no test coverage detected