- created a new hook, `useSendMessageWithRetries`, that sends a message to the chat API, and perform retries if the API returns a 5xx status code.
- updated `ChatInput` and `MessageSuggestions` component to use the new hook to retry once for failed 5xx responses.
- updated `ChatPanel` to show a retry text next to loading dots ("Error occurred. Retrying")
Will deploy a new minor (0.9.0) once merged
J=CLIP-1189
TEST=manual&auto
see unit tests passed
see that it works as expected in test-site
https://github.com/yext/chat-ui-react/assets/36055303/272ee401-11cc-410e-a048-a3634b063917