When there's an error requesting the openai api, the user is left with a blank reply -- this PR fixes that by closing the reply when the notification is shown to the user. We technically know sooner when an error has occurred, but this makes for a cleaner UX.
When there's an error requesting the openai api, the user is left with a blank reply -- this PR fixes that by closing the reply when the notification is shown to the user. We technically know sooner when an error has occurred, but this makes for a cleaner UX.