Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default function Home() {
};

function startNewChat() {
setMessages([]);
setMessages([ ]);
setActiveConversation("");
setNewPrompt("");
toggleMenuState();
Expand Down Expand Up @@ -323,10 +323,14 @@ export default function Home() {
setOllama={setOllama}
/>
<div className="flex w-full flex-1 flex-shrink flex-col items-center justify-end gap-y-4 overflow-hidden whitespace-break-spaces">
<div className="flex w-full flex-1 flex-col items-center justify-end gap-y-4 overflow-scroll whitespace-break-spaces">
<div
className="flex w-full flex-1 flex-col items-center justify-end gap-y-4 overflow-scroll whitespace-break-spaces"
style={{display: "overflow-y: auto;overflow-x:auto;scrollbar-width: none"}}
>
<div
ref={msgContainerRef}
className="block h-fit w-full flex-col items-center justify-center gap-y-1 overflow-scroll rounded-md p-2"
style={{display: "overflow-y: auto;overflow-x:auto;scrollbar-width: none"}}
>
{messages.map((msg) => (
<div
Expand Down