From 31cac3b5b7f82802a33f29ee93521570b6a901f0 Mon Sep 17 00:00:00 2001 From: n4ze3m Date: Wed, 14 Feb 2024 00:43:07 +0530 Subject: [PATCH] Update package version and add new chat button --- package.json | 2 +- src/components/Option/Layout.tsx | 30 ++-- .../Option/Playground/PlaygroundForm.tsx | 157 ++++++++++-------- 3 files changed, 111 insertions(+), 78 deletions(-) diff --git a/package.json b/package.json index c97879f..0985d1f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pageassist", "displayName": "Page Assist - A Web UI for Local AI Models", - "version": "1.0.0", + "version": "1.0.1", "description": "Use your locally running AI models to assist you in your web browsing.", "author": "n4ze3m", "scripts": { diff --git a/src/components/Option/Layout.tsx b/src/components/Option/Layout.tsx index 6c7dd4a..7cee36d 100644 --- a/src/components/Option/Layout.tsx +++ b/src/components/Option/Layout.tsx @@ -19,7 +19,7 @@ import { Drawer, Layout, Modal, Select } from "antd" import { useQuery } from "@tanstack/react-query" import { fetchModels } from "~services/ollama" import { useMessageOption } from "~hooks/useMessageOption" -import { PanelLeftIcon, Settings2 } from "lucide-react" +import { GithubIcon, PanelLeftIcon, Settings2, SquarePen } from "lucide-react" import { Settings } from "./Settings" import { useDarkMode } from "~hooks/useDarkmode" @@ -67,7 +67,6 @@ export default function OptionLayout({ const { selectedModel, setSelectedModel } = useMessageOption() - return (
@@ -79,6 +78,12 @@ export default function OptionLayout({
+
+ +
- + className="shrink-0 flex-grow flex flex-col items-center "> + +