99} from "@shared/lib/ragflow/chat/chat-client" ;
1010import { personalChatConfigTemplate } from "@shared/lib/ragflow/chat/chat-configs" ;
1111import { Button } from "@shared/components/ui/button" ;
12- import { Upload } from "lucide-react" ;
12+ import { SpeechIcon , Upload } from "lucide-react" ;
1313
1414export default async function ChatPage ( {
1515 params,
@@ -30,7 +30,7 @@ export default async function ChatPage({
3030 const { classroomId } = await params ;
3131 const classroomIdNum = Number ( classroomId ) ;
3232 const user = userAndClassData . userData ;
33- const username = user . user_metadata ?. full_name ?? "User Name" ;
33+ // const username = user.user_metadata?.full_name ?? "User Name";
3434
3535 const classroomInfo = userAndClassData . classroomsData . find (
3636 ( x ) => x . id === classroomIdNum
@@ -150,7 +150,7 @@ export default async function ChatPage({
150150 <strong>Chat Assistant ID:</strong> {chatAssistantId} <br></br>
151151 <strong>Chat Session ID:</strong> {chatSessionId}
152152 </p> */ }
153- < p >
153+ { /* <p>
154154 <strong>Welcome to: </strong>
155155 {classroomInfo.name}, <strong>{username}</strong> <br />
156156 <strong>Ragflow Dataset ID:</strong> {datasetClient.client.datasetId}{" "}
@@ -159,7 +159,13 @@ export default async function ChatPage({
159159 <br />
160160 <strong>Chat Session ID:</strong>{" "}
161161 {(chatClient.client as ChatClientWithSession).sessionId}
162- </ p >
162+ </p> */ }
163+ < h2 className = "text-3xl font-bold tracking-tight" >
164+ { classroomInfo . name }
165+ </ h2 >
166+ < h1 className = "flex flex-row gap-4 text-2xl font-medium tracking-tight text-muted-foreground" >
167+ < SpeechIcon className = "self-center mb-8" /> Personal Assistant
168+ </ h1 >
163169
164170 < MessageBox
165171 chatClient = { chatClient . client as ChatClientWithSession }
0 commit comments