Skip to content

Commit

Permalink
🚸 (openai) Add payment method alert in credentials modal
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Aug 10, 2023
1 parent 330d399 commit 7c81d0c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
Stack,
ModalFooter,
Button,
Alert,
AlertIcon,
} from '@chakra-ui/react'
import React, { useState } from 'react'

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 7c81d0c

Please sign in to comment.