feat: Enhance FAQ management and search functionality

- Added a new menu item for searching FAQs directly from the menu, improving user accessibility.
- Implemented batch action options for selected FAQs, allowing users to perform bulk operations such as enabling, disabling, and deleting entries.
- Updated localization strings to support new features and improve user experience across multiple languages.
- Enhanced the handling of FAQ selection changes to dynamically update the UI based on user interactions.
This commit is contained in:
wizardchen
2025-11-23 17:27:30 +08:00
parent 1a3d36f2c1
commit e853605cea
16 changed files with 303 additions and 35 deletions
+2
View File
@@ -7,6 +7,7 @@
export const toolIcons: Record<string, string> = {
multi_kb_search: '🔍',
knowledge_search: '📚',
grep_chunks: '🔎',
get_chunk_detail: '📄',
list_knowledge_bases: '📂',
list_knowledge_chunks: '🧩',
@@ -42,6 +43,7 @@ export function getToolDisplayName(toolName: string): string {
const displayNames: Record<string, string> = {
multi_kb_search: '跨库搜索',
knowledge_search: '知识库搜索',
grep_chunks: '文本模式搜索',
get_chunk_detail: '获取片段详情',
list_knowledge_chunks: '查看知识分块',
list_knowledge_bases: '列出知识库',