Rolled back to v0.0.2

This commit is contained in:
Danny Avila 2023-03-10 12:55:45 -05:00
parent 57d3025717
commit 72ff47e204
20 changed files with 87 additions and 142 deletions

View file

@ -27,7 +27,7 @@ export default function ModelMenu() {
const [menuOpen, setMenuOpen] = useState(false);
const { model, customModel } = useSelector((state) => state.submit);
const { models, modelMap, initial } = useSelector((state) => state.models);
const { trigger } = manualSWR(`/api/customGpts`, 'get', (res) => {
const { trigger } = manualSWR(`http://localhost:3080/api/customGpts`, 'get', (res) => {
const fetchedModels = res.map((modelItem) => ({
...modelItem,
name: modelItem.chatGptLabel