diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index 40e4368a5a..54bf75817f 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -1795,7 +1795,7 @@ export function ChatPage({ const responseJson = await response.json(); setPopup({ message: responseJson.detail, type: "error" }); } - router.refresh(); + refreshChatSessions(); }} /> )}