WeKnora/internal/handler
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
..
agent_stream_handler.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
auth.go feat(ui): Add tenant info 2025-09-16 15:46:18 +08:00
chunk.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
evaluation.go docs: Updated API documentation, added examples and fields, and adjusted responses and parameters. 2025-08-12 15:40:41 +08:00
initialization.go feat: Implement theme management and UI enhancements across the application 2025-11-06 02:45:44 +08:00
knowledge.go feat: Added web page for configuring model information 2025-08-10 17:11:07 +08:00
knowledgebase.go chore(clone): Optimize concurrent processing, improve error handling and annotations 2025-08-29 15:04:14 +08:00
message.go init commit 2025-08-05 15:08:07 +08:00
model.go init commit 2025-08-05 15:08:07 +08:00
session.go feat: Enhance chat and knowledge base functionalities with multi-KB support 2025-11-06 21:12:26 +08:00
system.go feat(ui): Support multi knowledgebases operation 2025-09-17 16:02:08 +08:00
tenant.go feat: Enhance chat and knowledge base functionalities with multi-KB support 2025-11-06 21:12:26 +08:00