diff --git a/web/public/locales/en/views/chat.json b/web/public/locales/en/views/chat.json index d85fdb4ac..29078ff54 100644 --- a/web/public/locales/en/views/chat.json +++ b/web/public/locales/en/views/chat.json @@ -1,4 +1,5 @@ { "placeholder": "Ask anything...", - "error": "Something went wrong. Please try again." + "error": "Something went wrong. Please try again.", + "processing": "Processing..." } diff --git a/web/src/pages/Chat.tsx b/web/src/pages/Chat.tsx index f8802da45..65c270d39 100644 --- a/web/src/pages/Chat.tsx +++ b/web/src/pages/Chat.tsx @@ -60,6 +60,11 @@ export default function ChatPage() { {msg.content} ))} + {isLoading && ( +
{error} diff --git a/web/vite.config.ts b/web/vite.config.ts index 148048995..98a9afde1 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -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({