Spaces:
Running
Running
Commit
·
96b23d9
1
Parent(s):
102dac3
fixed build errors
Browse files- ui/src/App.tsx +4 -3
ui/src/App.tsx
CHANGED
|
@@ -6,7 +6,6 @@ import React, {
|
|
| 6 |
useState,
|
| 7 |
} from "react";
|
| 8 |
import {
|
| 9 |
-
BookmarkIcon,
|
| 10 |
TrashIcon,
|
| 11 |
SparklesIcon,
|
| 12 |
PaperClipIcon,
|
|
@@ -14,9 +13,7 @@ import {
|
|
| 14 |
PaperAirplaneIcon,
|
| 15 |
ArrowPathIcon,
|
| 16 |
DocumentDuplicateIcon,
|
| 17 |
-
PencilSquareIcon,
|
| 18 |
ChatBubbleLeftRightIcon,
|
| 19 |
-
XMarkIcon,
|
| 20 |
CommandLineIcon,
|
| 21 |
} from "@heroicons/react/24/outline";
|
| 22 |
import ReactMarkdown from "react-markdown";
|
|
@@ -31,12 +28,14 @@ const APP_TITLE = "Krishna's Digital Twin";
|
|
| 31 |
const BOT_AVATAR =
|
| 32 |
"https://api.dicebear.com/9.x/bottts-neutral/svg?seed=Krishna1&backgroundColor=6366f1"; // Cleaner 3D-ish Robot
|
| 33 |
|
|
|
|
| 34 |
const DID_YOU_KNOW = [
|
| 35 |
"Krishna achieved a 3.95 GPA during his M.S. at Virginia Tech.",
|
| 36 |
"Krishna built an agent that automates Android UI tasks with 80%+ accuracy.",
|
| 37 |
"Krishna optimized genomic ETL pipelines reducing runtime by 70%.",
|
| 38 |
"Krishna specializes in building autonomous agents and RAG systems.",
|
| 39 |
];
|
|
|
|
| 40 |
|
| 41 |
const SUGGESTIONS = [
|
| 42 |
{
|
|
@@ -61,6 +60,7 @@ const SUGGESTIONS = [
|
|
| 61 |
},
|
| 62 |
];
|
| 63 |
|
|
|
|
| 64 |
function DidYouKnowRotator() {
|
| 65 |
const [index, setIndex] = useState(0);
|
| 66 |
useEffect(() => {
|
|
@@ -84,6 +84,7 @@ function DidYouKnowRotator() {
|
|
| 84 |
</div>
|
| 85 |
);
|
| 86 |
}
|
|
|
|
| 87 |
|
| 88 |
// --- Helper: Date Grouping for Sidebar ---
|
| 89 |
function groupThreadsByDate(threads: ThreadMeta[]) {
|
|
|
|
| 6 |
useState,
|
| 7 |
} from "react";
|
| 8 |
import {
|
|
|
|
| 9 |
TrashIcon,
|
| 10 |
SparklesIcon,
|
| 11 |
PaperClipIcon,
|
|
|
|
| 13 |
PaperAirplaneIcon,
|
| 14 |
ArrowPathIcon,
|
| 15 |
DocumentDuplicateIcon,
|
|
|
|
| 16 |
ChatBubbleLeftRightIcon,
|
|
|
|
| 17 |
CommandLineIcon,
|
| 18 |
} from "@heroicons/react/24/outline";
|
| 19 |
import ReactMarkdown from "react-markdown";
|
|
|
|
| 28 |
const BOT_AVATAR =
|
| 29 |
"https://api.dicebear.com/9.x/bottts-neutral/svg?seed=Krishna1&backgroundColor=6366f1"; // Cleaner 3D-ish Robot
|
| 30 |
|
| 31 |
+
/*
|
| 32 |
const DID_YOU_KNOW = [
|
| 33 |
"Krishna achieved a 3.95 GPA during his M.S. at Virginia Tech.",
|
| 34 |
"Krishna built an agent that automates Android UI tasks with 80%+ accuracy.",
|
| 35 |
"Krishna optimized genomic ETL pipelines reducing runtime by 70%.",
|
| 36 |
"Krishna specializes in building autonomous agents and RAG systems.",
|
| 37 |
];
|
| 38 |
+
*/
|
| 39 |
|
| 40 |
const SUGGESTIONS = [
|
| 41 |
{
|
|
|
|
| 60 |
},
|
| 61 |
];
|
| 62 |
|
| 63 |
+
/*
|
| 64 |
function DidYouKnowRotator() {
|
| 65 |
const [index, setIndex] = useState(0);
|
| 66 |
useEffect(() => {
|
|
|
|
| 84 |
</div>
|
| 85 |
);
|
| 86 |
}
|
| 87 |
+
*/
|
| 88 |
|
| 89 |
// --- Helper: Date Grouping for Sidebar ---
|
| 90 |
function groupThreadsByDate(threads: ThreadMeta[]) {
|