From afc68af3a67b2f936429feb3a68c1f09e03ce930 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期五, 11 四月 2025 10:07:24 +0800
Subject: [PATCH] 智能体中心不显示自研智能体
---
app/config/env_conf/default_agent_conf.json | 230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 225 insertions(+), 5 deletions(-)
diff --git a/app/config/env_conf/default_agent_conf.json b/app/config/env_conf/default_agent_conf.json
index 70c35f7..c804d38 100644
--- a/app/config/env_conf/default_agent_conf.json
+++ b/app/config/env_conf/default_agent_conf.json
@@ -5,29 +5,249 @@
"name": "鎶ヨ〃鍚堝苟",
"description": "鎶ヨ〃鍚堝苟",
"icon": "intellFrame4",
- "agentType": "excelMerge"
+ "agentType": "excelMerge",
+ "parameters": {
+ "retriever_resource": {
+ "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_upload": {
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"id": "basic_excel_talk",
"name": "鏅鸿兘鏁版嵁",
"description": "鏅鸿兘鏁版嵁",
"icon": "intellFrame4",
- "agentType": "excelTalk"
+ "agentType": "excelTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "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_upload": {
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"id": "basic_question_talk",
"name": "鍑洪缁勫嵎",
"description": "鍑洪缁勫嵎",
"icon": "intellFrame4",
- "agentType": "questionTalk"
+ "agentType": "questionTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "user_input_form": [],
+ "file_upload": {
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"id": "basic_paper_talk",
"name": "鏂囨。鍑哄嵎",
"description": "鏂囨。鍑哄嵎",
"icon": "intellFrame4",
- "agentType": "paperTalk"
+ "agentType": "paperTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "user_input_form": [],
+ "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
+ }
+ },
+ "dialogType": "3",
+ "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