From 0650b889a36d9b9fd42415b9b9819676f839ae9b Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 08 四月 2025 09:54:09 +0800 Subject: [PATCH] 首页会话-模型修改 --- app/config/env_conf/default_agent_conf.json | 220 +++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 174 insertions(+), 46 deletions(-) diff --git a/app/config/env_conf/default_agent_conf.json b/app/config/env_conf/default_agent_conf.json index afe500b..c804d38 100644 --- a/app/config/env_conf/default_agent_conf.json +++ b/app/config/env_conf/default_agent_conf.json @@ -11,27 +11,27 @@ "enabled": false }, "user_input_form": [ - { - "file-list": { - "allowed_file_extensions": [ - "xlsx" - ], - "allowed_file_types": [ - "document" - ], - "allowed_file_upload_methods": [ - "local_file" - ], - "label": "鏂囨。瑙f瀽绔�", - "max_length": 30, - "options": [], - "required": true, - "type": "file-list", - "variable": "file_list" + { + "file-list": { + "allowed_file_extensions": [ + "xlsx" + ], + "allowed_file_types": [ + "document" + ], + "allowed_file_upload_methods": [ + "local_file" + ], + "label": "鏂囨。瑙f瀽绔�", + "max_length": 30, + "options": [], + "required": true, + "type": "file-list", + "variable": "file_list" + } } - } ], - "file_upload":{ + "file_upload": { "enabled": false } }, @@ -50,34 +50,37 @@ }, "user_input_form": [ { - "file-list": { - "allowed_file_extensions": [ - "xlsx", "xls","csv","db" - ], - "allowed_file_types": [ - "document" - ], - "allowed_file_upload_methods": [ - "local_file" - ], - "label": "涓婁紶鏂囨。", - "max_length": 30, - "options": [], - "required": true, - "type": "file-list", - "variable": "file_list", - "fileUploadConfig": { - "file_size_limit": 30, - "batch_count_limit": 5, - "image_file_size_limit": 10, - "video_file_size_limit": 100, - "audio_file_size_limit": 50, - "workflow_file_upload_limit": 100 + "file-list": { + "allowed_file_extensions": [ + "xlsx", + "xls", + "csv", + "db" + ], + "allowed_file_types": [ + "document" + ], + "allowed_file_upload_methods": [ + "local_file" + ], + "label": "涓婁紶鏂囨。", + "max_length": 30, + "options": [], + "required": true, + "type": "file-list", + "variable": "file_list", + "fileUploadConfig": { + "file_size_limit": 30, + "batch_count_limit": 5, + "image_file_size_limit": 10, + "video_file_size_limit": 100, + "audio_file_size_limit": 50, + "workflow_file_upload_limit": 100 } } } ], - "file_upload":{ + "file_upload": { "enabled": false } }, @@ -95,7 +98,7 @@ "enabled": true }, "user_input_form": [], - "file_upload":{ + "file_upload": { "enabled": false } }, @@ -113,7 +116,25 @@ "enabled": true }, "user_input_form": [], - "file_upload":{ + "file_upload": { + "enabled": false + } + }, + "dialogType": "3", + "mode": "agent-basic" + }, + { + "id": "basic_report_talk", + "name": "鎶ュ憡鐢熸垚", + "description": "鎶ュ憡鐢熸垚", + "icon": "intellFrame4", + "agentType": "reportTalk", + "parameters": { + "retriever_resource": { + "enabled": true + }, + "user_input_form": [], + "file_upload": { "enabled": false } }, @@ -121,5 +142,112 @@ "mode": "agent-basic" } ], - "bs": [] + "complex": [ + { + "id": "b436d1ae135311f0add70242ac1a0006", + "name": "鐭ヨ瘑搴撲笓瀹�", + "description": "鐭ヨ瘑搴撲笓瀹�", + "icon": "intellFrame4", + "chat_mode": 3, + "parameters": { + }, + "dialogType": "1", + "mode": "complex-chat", + "chat_model": "qwen-32b-awq___OpenAI-API", + "chat_provider": "OpenAI-API-Compatible" + }, + { + "id": "ad127cb5-a1ef-49a3-82ed-6467a670fd10", + "name": "鏂囨。鍒嗘瀽涓撳", + "description": "鏂囨。鍒嗘瀽涓撳", + "icon": "intellFrame4", + "chat_mode": 1, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat", + "chat_model": "qwen-32b-awq", + "chat_model_ds": "qwq-32b-awq", + "chat_provider": "openai_api_compatible" + }, + { + "id": "c6a9fda3-bfb8-40ef-9510-545766c7d6a0", + "name": "鑱旂綉鎼滅储涓撳", + "description": "鑱旂綉鎼滅储涓撳", + "icon": "intellFrame4", + "chat_mode": 2, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "1974a79d-35bf-446d-95ed-0724380ea65a", + "name": "璇浼樺寲涓撳", + "description": "璇浼樺寲涓撳", + "icon": "intellFrame4", + "chat_mode": 4, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "8c6b05e7-da35-4aa4-8874-32b5bba93e7a", + "name": "鎬濈淮瀵煎浘涓撳", + "description": "鎬濈淮瀵煎浘涓撳", + "icon": "intellFrame4", + "chat_mode": 5, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "8c6b05e7-da35-4aa4-8874-32b5bba93111", + "name": "娓呮礂宸ヤ綔娴�", + "description": "娓呮礂宸ヤ綔娴�", + "icon": "intellFrame4", + "chat_mode": 7, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "8c6b05e7-da35-4aa4-8874-32b5bba93222", + "name": "灏忔爣棰樺伐浣滄祦", + "description": "灏忔爣棰樺伐浣滄祦", + "icon": "intellFrame4", + "chat_mode": 8, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "8c6b05e7-da35-4aa4-8874-32b5bba9333", + "name": "鎶ュ憡鐢熸垚宸ヤ綔娴�", + "description": "鎶ュ憡鐢熸垚宸ヤ綔娴�", + "icon": "intellFrame4", + "chat_mode": 9, + "parameters": { + }, + "dialogType": "4", + "mode": "complex-chat" + }, + { + "id": "c964acd6135311f0bf5b0242ac1a0006", + "name": "鐭ヨ瘑搴撲笓瀹�-娣卞害", + "description": "鐭ヨ瘑搴撲笓瀹�", + "icon": "intellFrame4", + "chat_mode": 10, + "parameters": { + }, + "dialogType": "1", + "mode": "complex-chat", + "chat_model_ds": "qwq-32b-awq___OpenAI-API", + "chat_provider": "OpenAI-API-Compatible" + } + ] } \ No newline at end of file -- Gitblit v1.8.0