From 0a3b6dbb1e45a3df93a2da2e5258a7c7c6e7216f Mon Sep 17 00:00:00 2001 From: Arswarog Date: Wed, 8 Jul 2026 10:45:13 +0300 Subject: [PATCH] chat url --- plugins/docuservix/hooks/useChat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/docuservix/hooks/useChat.ts b/plugins/docuservix/hooks/useChat.ts index 83d36a2..191654d 100644 --- a/plugins/docuservix/hooks/useChat.ts +++ b/plugins/docuservix/hooks/useChat.ts @@ -19,7 +19,7 @@ function useQuery(): string { } export function useChat(): UseChatResult { - const chatEndpoint = useOptions().api + '/chat'; + const chatEndpoint = useOptions().api + '/v1/chat'; const urlQuery = useQuery(); const [messages, setMessages] = useState([]);