Skip to content

Commit

Permalink
fix: 为dify agent设置项更新schema
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Dec 17, 2024
1 parent 486f636 commit 242f248
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions templates/schema/provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 请求超时时间"
}
}
},
Expand All @@ -271,6 +289,10 @@
"title": "工作流输出键",
"description": "设置工作流输出键,用于从 Dify Workflow 结束节点返回的 JSON 数据中提取输出内容",
"default": "summary"
},
"timeout": {
"type": "number",
"title": "API 请求超时时间"
}
}
}
Expand Down

0 comments on commit 242f248

Please sign in to comment.