This commit is contained in:
CREDO23 2025-10-23 19:48:10 +02:00 committed by thierryverse
parent 58fed46567
commit 9007436ff6
9 changed files with 23 additions and 183 deletions

View file

@ -1,17 +1,16 @@
"use client";
import { type ChatHandler, ChatSection as LlamaIndexChatSection } from "@llamaindex/chat-ui";
import { PanelRight } from "lucide-react";
import { useParams } from "next/navigation";
import { createContext, useCallback, useEffect, useState } from "react";
import { Chat, type ChatDetails } from "@/app/dashboard/[search_space_id]/chats/chats-client";
import type { ChatDetails } from "@/app/dashboard/[search_space_id]/chats/chats-client";
import type { PodcastItem } from "@/app/dashboard/[search_space_id]/podcasts/podcasts-client";
import type { ResearchMode } from "@/components/chat";
import { ChatInputUI } from "@/components/chat/ChatInputGroup";
import { ChatMessagesUI } from "@/components/chat/ChatMessages";
import { useChatAPI } from "@/hooks/use-chat";
import type { Document } from "@/hooks/use-documents";
import { ChatPanelContainer } from "./ChatPannel/ChatPanelContainer";
import { ChatPanelContainer } from "./ChatPanel/ChatPanelContainer";
interface ChatInterfaceProps {
handler: ChatHandler;