From 1d72a25e25ecdc327faa2a8d5c376cb17ad4773c Mon Sep 17 00:00:00 2001 From: wizardchen Date: Mon, 20 Apr 2026 20:42:18 +0800 Subject: [PATCH] feat: Enhance chat UI and wiki page retrieval logic - Updated the chat component to include a new class for handling sidebar collapse, improving layout responsiveness. - Enhanced the wiki page retrieval logic to support multiple knowledge bases for the same slug, allowing for more comprehensive results. - Introduced a mechanism to track ambiguous slugs across knowledge bases, improving clarity in search results. These changes significantly improve the user experience in the chat interface and enhance the functionality of the wiki page retrieval system. --- frontend/src/views/chat/index.vue | 6 +- internal/agent/tools/wiki_tools.go | 198 +++++++++++++++++++---------- 2 files changed, 135 insertions(+), 69 deletions(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 01f5bc97..69ed4826 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -1,5 +1,5 @@