setErrorMessage(`
We apologize for the inconvenience, our system is having load issues.
Our team is working to improve performance try again in a few minutes.
Thank you for your patience.
`);
setCodeRed(true);
setLoading(false);
};
const setStatusErrorMessages = (error?: string | AxiosError | unknown) => {
setCodeRed(true);
setErrorMessage(`
We apologize for the inconvenience, our system is undergoing maintenance to improve your experience.
Thank you for your patience.
`);
};
Need to refactor these callback functions that are being passed to src/services/openai.ts.
In src/containers/Chat.tsx
Need to refactor these callback functions that are being passed to src/services/openai.ts.
In src/services/openai.ts