improve clarity of api menu error message

This commit is contained in:
Jing Hua 2023-03-06 11:45:11 +08:00 committed by GitHub
parent 42820e4914
commit 024bd71cb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ const ApiMenu = ({
</div>
{error && (
<div className='bg-red-600/50 p-2 rounded-sm mt-3 text-gray-900 dark:text-gray-300 text-sm'>
Invalid API key!
Error: Invalid API key or network blocked. Please check your API key and network settings for OpenAI API.
</div>
)}
</>