Merge pull request #3060 from continuedev/dallin/duplicate-error-msg

remove duplicate error toast while streaming
This commit is contained in:
Nate Sesti 2024-11-25 18:02:45 -08:00 • committed by GitHub
commit 021b13ff77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -326,10 +326,6 @@ function useChatHandler(dispatch: Dispatch, ideMessenger: IIdeMessenger) {
} catch (e: any) {
dispatch(clearLastEmptyResponse());
console.debug("Error streaming response: ", e);
ideMessenger.post("showToast", [
"error",
`Error streaming response: ${e.message}`,
]);
} finally {
dispatch(setInactive());
triggerSave(!save);