added chatbot and exportType folder with the types

This commit is contained in:
Ivan Rudik
2025-11-09 02:20:56 +00:00
parent 475b830b60
commit 36a54831ce
5 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { useState, useEffect, useRef, useCallback } from "react";
import { useSearchParams } from "next/navigation";
import ChatInput from "../utils/component/ui/ChatInput";
import MessageWindow from "../utils/component/ui/MessageWindow";
import { ChatHistory, ChatSetting, Message , MessageRole } from "./exportType/types";
import { ChatHistory, ChatSetting, Message , MessageRole } from "@/app/exportType/types";
export default function Home(){
const [history, setHistory] = useState<ChatHistory>([])