Commit Graph

26 Commits

Author SHA1 Message Date
wizardchen f30720f99b feat: Enhance agent settings navigation and error handling in UI components
- Introduced a new method to handle navigation to agent settings, improving code organization and reusability.
- Updated tooltip content in the agent mode button to include a link for quick access to agent settings.
- Enhanced error handling in the KnowledgeBase component to provide actionable links for VLM configuration errors.
- Added initial section handling in the KnowledgeBaseEditorModal for improved user experience during knowledge base editing.
2025-11-07 16:40:53 +08:00
wizardchen 655df49d7d refactor: Enhance chat message handling and session management
- Updated chat message sending logic to conditionally validate knowledge base IDs based on agent mode status.
- Improved endpoint selection for chat requests, allowing for dynamic routing between agent and knowledge chat.
- Introduced a new method to select the appropriate chat model ID, prioritizing remote models for enhanced flexibility.
- Changed JSON column types for agent and context configurations in session and tenant types to jsonb for better performance.
2025-11-07 01:37:37 +08:00
wizardchen 266b9a5943 feat: Enhance chat and knowledge base functionalities with multi-KB support
- Updated agentChat API to accept optional knowledge_base_ids and agent_enabled parameters.
- Introduced getSession API to retrieve session details.
- Modified useStream to validate knowledge_base_ids for agent-chat requests and prepare POST body accordingly.
- Enhanced createKnowledgeBase API to include additional configuration options.
- Refactored chat routing to remove knowledge base ID from the chat path, allowing for dynamic knowledge base selection.
- Improved session management by preventing duplicate session entries in the menu store.
- Updated UI components for better session handling and display.
- Added context management for agent conversations to improve state persistence across sessions.
2025-11-06 21:12:26 +08:00
wizardchen 4fa3adbf3b feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
begoniezhao b6d8be634a feat: 新增异步任务提取服务 2025-10-16 17:48:21 +08:00
wizardchen 2cdb4f4ae7 merge main 2025-09-17 16:14:29 +08:00
wizardchen 98e47e83d2 feat(ui): Support multi knowledgebases operation 2025-09-17 16:02:08 +08:00
begoniezhao 299f8a097b feat: Added multi-data source search engine configuration and optimization logic 2025-09-17 10:21:37 +08:00
wizardchen 2495d7c084 feat(ui): Add tenant info 2025-09-16 15:46:18 +08:00
lyingbug e8b8215f1e Merge branch 'main' into login_page 2025-09-16 10:24:05 +08:00
begoniezhao c2d52a9374 feat: Modify COS file service initialization parameters and URL processing logic 2025-09-16 10:15:50 +08:00
wizardchen 81bd2e6c2c feat: Add Login Page 2025-09-16 02:47:39 +08:00
wizardchen 0908f9c487 fix(ui): Fix xss attact 2025-09-15 20:02:25 +08:00
wizardchen 8a2b38da6f fix: rewrite query is empty 2025-09-10 19:35:26 +08:00
begoniezhao 79b9315758 feat: Added knowledge base column value update method and optimized logging 2025-09-10 19:04:37 +08:00
begoniezhao 9cda977175 refactor: Change Elasticsearch query parameters from string concatenation to JSON formatting 2025-09-04 12:09:56 +08:00
begoniezhao 54570da047 refactor(knowledge.go): Modify the knowledge existence check condition to eliminate the parsing failure state 2025-08-29 17:47:10 +08:00
begoniezhao 7be2e99aa2 chore(clone): Optimize concurrent processing, improve error handling and annotations 2025-08-29 15:04:14 +08:00
wizardchen 1eed11fc4f fix: ignore non-utf8 words when saving to db 2025-08-21 19:53:54 +08:00
begoniezhao c97bf0de11 chore: Change the file and string hashing algorithm from SHA256 to MD5 2025-08-15 15:48:36 +08:00
SyedaAnshrahGillani 92ebf68516 Refactor: Replace MD5 with SHA-256 for hashing 2025-08-14 20:00:36 +08:00
wizardchen 8b43931886 feat: support minio storage 2025-08-14 12:16:08 +08:00
wizardchen 9b0ba265f0 feat: Added some tips for bad fileupload request 2025-08-10 17:41:04 +08:00
wizardchen bdabed6bfa feat: Added web page for configuring model information 2025-08-10 17:11:07 +08:00
begoniezhao 104a65ad23 feat: 新增多模态参数及处理逻辑,优化图片与删除操作 2025-08-08 17:19:06 +08:00
wizardchen 56eb2bce33 init commit 2025-08-05 15:08:07 +08:00