diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx
index e3c7f5f..2749ca4 100644
--- a/app/components/chat/BaseChat.tsx
+++ b/app/components/chat/BaseChat.tsx
@@ -10,6 +10,7 @@ import { classNames } from '~/utils/classNames';
import { MODEL_LIST } from '~/utils/constants';
import { Messages } from './Messages.client';
import { SendButton } from './SendButton.client';
+import { useState } from 'react';
import styles from './BaseChat.module.scss';
@@ -21,6 +22,40 @@ const EXAMPLE_PROMPTS = [
{ text: 'How do I center a div?' },
];
+const providerList = [...new Set(MODEL_LIST.map((model) => model.provider))]
+
+const ModelSelector = ({ model, setModel, modelList, providerList }) => {
+ const [provider, setProvider] = useState(null);
+ return (
+
+
+
+
+ )
+}
+
const TEXTAREA_MIN_HEIGHT = 76;
interface BaseChatProps {
@@ -110,20 +145,12 @@ export const BaseChat = React.forwardRef(
'sticky bottom-0': chatStarted,
})}
>
- {/* Model selection dropdown */}
-
-
-
+