khronoz commited on
Commit
46f8ac0
·
1 Parent(s): ebd245c

Update avatar and chat api endpoint

Browse files
frontend/app/components/chat-section.tsx CHANGED
@@ -12,7 +12,7 @@ export default function ChatSection() {
12
  handleInputChange,
13
  reload,
14
  stop,
15
- } = useChat({ api: process.env.CHAT_API });
16
 
17
  return (
18
  <div className="space-y-4 max-w-5xl w-full">
 
12
  handleInputChange,
13
  reload,
14
  stop,
15
+ } = useChat({ api: process.env.NEXT_PUBLIC_CHAT_API });
16
 
17
  return (
18
  <div className="space-y-4 max-w-5xl w-full">
frontend/app/components/ui/chat/chat-avatar.tsx CHANGED
@@ -11,14 +11,13 @@ export default function ChatAvatar({ role }: { role: string }) {
11
  }
12
 
13
  return (
14
- <div className="flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border text-white shadow bg-neutral-200">
15
  <Image
16
  className="rounded-md"
17
- src="/smart retrieval logo.webp"
18
  alt="System"
19
- width={24}
20
- height={24}
21
- priority
22
  />
23
  </div>
24
  );
 
11
  }
12
 
13
  return (
14
+ <div className="flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border shadow">
15
  <Image
16
  className="rounded-md"
17
+ src="/smart-retrieval-logo.webp"
18
  alt="System"
19
+ width={80}
20
+ height={80}
 
21
  />
22
  </div>
23
  );