diff --git a/.gitignore b/.gitignore index c7491cb..2501c9e 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST +.DS_Store # PyInstaller # Usually these files are written by a python script from a template diff --git a/ui/components/Chat.tsx b/ui/components/Chat.tsx index 6ad3112..92f2566 100644 --- a/ui/components/Chat.tsx +++ b/ui/components/Chat.tsx @@ -78,8 +78,13 @@ export function Chat({ messages, onSendMessage, isLoading }: ChatProps) { }`} > {msg.role === "user" ? ( -
- {msg.content} +
+
+ {msg.content} +
+ + {msg.timestamp.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })} +
) : (
@@ -113,7 +118,7 @@ export function Chat({ messages, onSendMessage, isLoading }: ChatProps) {
-
+