processing

This commit is contained in:
Nicolas Mowen
2026-02-12 19:04:40 -07:00
parent e7e806b135
commit 79d7d20866
3 changed files with 8 additions and 2 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}

View File

@@ -4,7 +4,7 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import monacoEditorPlugin from "vite-plugin-monaco-editor";
const proxyHost = process.env.PROXY_HOST || "1ocalhost:5000";
const proxyHost = process.env.PROXY_HOST || "192.168.50.106:5002";
// https://vitejs.dev/config/
export default defineConfig({