chore: Show error message if the AI process APIs fails (#7560)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
This commit is contained in:
Muhsin Keloth
2023-07-24 19:15:34 +05:30
committed by GitHub
parent c83105ce4f
commit 2a6f3356c9
2 changed files with 3 additions and 1 deletions

View File

@@ -121,7 +121,7 @@
"GENERATING": "Generating...",
"CANCEL": "Cancel"
},
"GENERATE_ERROR": "There was an error processing the content, please try again"
"GENERATE_ERROR": "There was an error processing the content, please verify your OpenAI API key and try again"
},
"DELETE": {
"BUTTON_TEXT": "Delete",

View File

@@ -1,8 +1,10 @@
import { mapGetters } from 'vuex';
import { OPEN_AI_EVENTS } from '../helper/AnalyticsHelper/events';
import OpenAPI from '../api/integrations/openapi';
import alertMixin from 'shared/mixins/alertMixin';
export default {
mixins: [alertMixin],
mounted() {
this.fetchIntegrationsIfRequired();
},