mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-26 01:25:15 +02:00
Improve PromptInput component (#3266)
* allow typing while streaming + refactor props * remove duplicate function
This commit is contained in:
@@ -282,8 +282,7 @@ export default function ChatContainer({ workspace, knownHistory = [] }) {
|
||||
<PromptInput
|
||||
submit={handleSubmit}
|
||||
onChange={handleMessageChange}
|
||||
inputDisabled={loadingResponse}
|
||||
buttonDisabled={loadingResponse}
|
||||
isStreaming={loadingResponse}
|
||||
sendCommand={sendCommand}
|
||||
attachments={files}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user