adds shadcn-ui components, and model button to switch chat models

This commit is contained in:
Danny Avila 2023-02-13 15:58:35 -05:00
parent acaef39d12
commit 583fd56ca5
14 changed files with 1700 additions and 196 deletions

View file

@ -15,7 +15,7 @@ export default function ClearConvos() {
'post',
() => {
dispatch(setMessages([]));
dispatch(setConversation({ error: false, conversationId: null, parentMessageId: null }));
dispatch(setConversation({ error: false, title: 'New chat', conversationId: null, parentMessageId: null }));
mutate('http://localhost:3050/convos');
}
);