Merge pull request #3060 from continuedev/dallin/duplicate-error-msg
remove duplicate error toast while streaming
This commit is contained in:
commit
021b13ff77
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue