From 73a35a66fd7c555fa5c91cc7df3173607268c7ab Mon Sep 17 00:00:00 2001 From: Viktor Vasas Date: Wed, 21 May 2025 18:09:41 +0200 Subject: [PATCH] feat: add delete --- .../Home/components/Portfolio/Prompt/Prompt.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/pages/Home/components/Portfolio/Prompt/Prompt.tsx b/src/pages/Home/components/Portfolio/Prompt/Prompt.tsx index 296848791..c6d627064 100644 --- a/src/pages/Home/components/Portfolio/Prompt/Prompt.tsx +++ b/src/pages/Home/components/Portfolio/Prompt/Prompt.tsx @@ -8,6 +8,7 @@ import { Scrollbars, Grow, Backdrop, + TrashIcon, } from '@avalabs/core-k2-components'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { FunctionCallingMode } from '@google/generative-ai'; @@ -581,13 +582,24 @@ export function Prompt() { {isTyping && } - + + { + setPrompts([ + { + role: 'model', + content: `Hey there! I'm Core AI, here to help you manage your assets safely and smoothly. What can I do for you today?`, + }, + ]); + }} + />