mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-12 20:44:24 +01:00
fix: only give initialResponse unfinished true value when not a cancellable endpoint
This commit is contained in:
parent
0bd240939a
commit
e0d5e75e73
3 changed files with 17 additions and 7 deletions
|
|
@ -34,6 +34,12 @@ export default function Message({
|
|||
const blinker = submitting && isSubmitting;
|
||||
const getConversationQuery = useGetConversationByIdQuery(message.conversationId, { enabled: false });
|
||||
|
||||
// debugging
|
||||
// useEffect(() => {
|
||||
// console.log('isSubmitting:', isSubmitting);
|
||||
// console.log('unfinished:', unfinished);
|
||||
// }, [isSubmitting, unfinished]);
|
||||
|
||||
useEffect(() => {
|
||||
if (blinker && !abortScroll) {
|
||||
scrollToBottom();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue