2
0

🚸 (openai) Add payment method alert in credentials modal

This commit is contained in:
Baptiste Arnaud
2023-08-10 07:53:11 +02:00
parent 330d399c42
commit 7c81d0cbab

View File

@@ -13,6 +13,8 @@ import {
Stack,
ModalFooter,
Button,
Alert,
AlertIcon,
} from '@chakra-ui/react'
import React, { useState } from 'react'
@@ -106,6 +108,11 @@ export const OpenAICredentialsModal = ({
withVariableButton={false}
debounceTimeout={0}
/>
<Alert status="warning">
<AlertIcon />
Make sure to add a payment method to your OpenAI account.
Otherwise, it will not work after a few messages.
</Alert>
</ModalBody>
<ModalFooter>