- {!(apiKey || serverSideApiKeyIsSet) ? (
-
-
- Welcome to Chatbot UI
-
-
-
{`Chatbot UI is an open source clone of OpenAI's ChatGPT UI.`}
-
- Important: Chatbot UI is 100% unaffiliated with OpenAI.
-
-
-
-
- Chatbot UI allows you to plug in your API key to use this UI
- with their API.
-
-
- It is only used to communicate
- with their API.
-
-
- {t(
- 'Please set your OpenAI API key in the bottom left of the sidebar.',
- )}
-
-
- {t(
- "If you don't have an OpenAI API key, you can get one here: ",
- )}
-
- openai.com
-
-
-
-
- ) : modelError ? (
+ { modelError ? (
) : (
<>
diff --git a/components/Chat/ModelSelect.tsx b/components/Chat/ModelSelect.tsx
index cdd9e7ecbd..bc861f6d2a 100644
--- a/components/Chat/ModelSelect.tsx
+++ b/components/Chat/ModelSelect.tsx
@@ -49,12 +49,6 @@ export const ModelSelect: FC
= ({
))}
-