mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fixes re-posting bug
This commit is contained in:
@@ -593,6 +593,7 @@ export function useChatStream({
|
||||
},
|
||||
throwOnError: true,
|
||||
signal: abortControllerRef.current.signal,
|
||||
sseMaxRetryAttempts: 1,
|
||||
});
|
||||
|
||||
await streamFromResponse(stream, currentMessages, dispatch, onFinish, sessionId);
|
||||
@@ -634,6 +635,7 @@ export function useChatStream({
|
||||
},
|
||||
throwOnError: true,
|
||||
signal: abortControllerRef.current.signal,
|
||||
sseMaxRetryAttempts: 1,
|
||||
});
|
||||
|
||||
await streamFromResponse(stream, currentMessages, dispatch, onFinish, sessionId);
|
||||
@@ -773,6 +775,7 @@ export function useChatStream({
|
||||
},
|
||||
throwOnError: true,
|
||||
signal: abortControllerRef.current.signal,
|
||||
sseMaxRetryAttempts: 1,
|
||||
});
|
||||
|
||||
await streamFromResponse(stream, messagesForUI, dispatch, onFinish, targetSessionId);
|
||||
|
||||
Reference in New Issue
Block a user