processing

This commit is contained in:
Nicolas Mowen 2026-02-12 19:04:40 -07:00
parent 2528d20f2f
commit 324d0405a8
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"placeholder": "Ask anything...",
"error": "Something went wrong. Please try again."
"error": "Something went wrong. Please try again.",
"processing": "Processing..."
}

View File

@ -60,6 +60,11 @@ export default function ChatPage() {
{msg.content}
</div>
))}
{isLoading && (
<div className="self-start rounded-lg bg-muted px-3 py-2 text-muted-foreground">
{t("processing")}
</div>
)}
{error && (
<p className="self-start text-sm text-destructive" role="alert">
{error}