feat: Integrate Swiper library and enhance chat functionality

- Added Swiper library to package dependencies for improved UI components.
- Updated chat API to include summary model ID in message handling, allowing for more flexible model selection.
- Enhanced InputField component to manage model selection and state more effectively.
- Improved event handling in chat components to support new model features and ensure accurate message processing.
- Refactored SVG assets for better visual consistency and updated styles for improved user experience.
This commit is contained in:
wizardchen
2025-11-09 00:02:31 +08:00
parent 6e147be202
commit 83721f98d4
40 changed files with 5030 additions and 2085 deletions
+2 -3
View File
@@ -280,10 +280,9 @@ func (h *TenantHandler) GetTenantAgentConfig(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"success": true,
"data": gin.H{
"enabled": false,
"max_iterations": 5,
"max_iterations": 20,
"reflection_enabled": false,
"allowed_tools": []string{"knowledge_search", "knowledge_search"},
"allowed_tools": []string{"thinking", "todo_write", "knowledge_search", "get_related_chunks", "query_knowledge_graph", "get_document_info", "database_query"},
"temperature": 0.7,
"thinking_model_id": "",
"rerank_model_id": "",