mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
Update TextChat.jsx
This commit is contained in:
parent
8982ec1439
commit
ca3f064a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export default function TextChat({ isSearchView = false }) {
|
||||||
const { ask, stopGenerating } = useMessageHandler();
|
const { ask, stopGenerating } = useMessageHandler();
|
||||||
const isNotAppendable = latestMessage?.unfinished & !isSubmitting || latestMessage?.error;
|
const isNotAppendable = latestMessage?.unfinished & !isSubmitting || latestMessage?.error;
|
||||||
const { conversationId, jailbreak } = conversation || {};
|
const { conversationId, jailbreak } = conversation || {};
|
||||||
const { isSpeechSupported, isListening, text: speechText, toggleListening } = useSpeechRecognition();
|
const { isSpeechSupported, isListening, text: speechText, toggleListening } = useSpeechRecognition(ask);
|
||||||
|
|
||||||
// auto focus to input, when enter a conversation.
|
// auto focus to input, when enter a conversation.
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue