From 242f24840d8ef2a4d8c6f2b92894fa6900ad604d Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 17 Dec 2024 16:24:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BAdify=20agent=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=E6=9B=B4=E6=96=B0schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/schema/provider.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/templates/schema/provider.json b/templates/schema/provider.json index b9467962..d4e453a4 100644 --- a/templates/schema/provider.json +++ b/templates/schema/provider.json @@ -255,6 +255,24 @@ "api-key": { "type": "string", "title": "API 密钥" + }, + "timeout": { + "type": "number", + "title":"API 请求超时时间" + } + } + }, + "agent": { + "type": "object", + "title": "Agent API 参数", + "properties": { + "api-key": { + "type": "string", + "title": "API 密钥" + }, + "timeout": { + "type": "number", + "title":"API 请求超时时间" } } }, @@ -271,6 +289,10 @@ "title": "工作流输出键", "description": "设置工作流输出键,用于从 Dify Workflow 结束节点返回的 JSON 数据中提取输出内容", "default": "summary" + }, + "timeout": { + "type": "number", + "title": "API 请求超时时间" } } }